[GHC] #12362: don't complain about type variable ambiguity when the expression is parametrically polymorphic