[GHC] #7854: Constrained method type accepted in Haskell 98 mode