[GHC] #9778: Namespace collision detection for promoted types