Fix inverted #ifdef for hlint

The annotation should be used when using hlint, not when not using it.
This fixes builds without GHCi with GHC builds predating the fix for
https://ghc.haskell.org/trac/ghc/ticket/4268.