[GHC] #11376: Inconsistent specified type variables among functions and datatypes/classes when using -XTypeApplications