[Git][ghc/ghc][master] Fix haddock test runner to handle UTF-8 output