GDA-5479 Jython displayhook should not convert PyUnicode objects if a writer is being used

A PyUnicode string is perfectly fine as it is, and should just go straight to
the terminal without being converted to a PyString.