eclass/ghc-package.eclass: add 'ghc-supports-interpreter()'

For 'ghci' or 'template-haskell' detection.