Fix up samples/test/UTF8 and samples/wx/FileBrowse to build with modern GHC