Only use UnicodeSytanx pretty printing if the locale supports it

using the same check as for unicode quotes.
Test case: GHCi uses UnicodeSyntax if the loaded file uses it.

Its marked as broken, as this does not work yet, but we are calling it a
day here soon, so I want this to be recorded (#8959).