[GHC] #8537: confusing error message for specialize pragma