Add isNewtype to GHC.Generics (FIX #7631)