[GHC] #12249: Template Haskell top level scoping error