[GHC] #9921: Building Haddocks with Hoogle output results in an error