[GHC] #13015: Remove as much Haskell code as we can from Lexer.x