[Git][ghc/ghc][wip/mangoiv/9.12.5-rc4] Fix a scoping error in Specialise