haskell-gdiff: jailbreak to fix build with ghc < 7.8.x