NCG: validate fixes for ghc-6.6