[GHC] #9081: Template Haskell gets confused with scoped kind variables in a class declaration