ghc-7.8.3: patch compiler to ship 'xhtml', 'terminfo', and 'haskeline'

This patch fixes <https://ghc.haskell.org/trac/ghc/ticket/8919>.