[GHC] #10569: Treat an out-of-scope variable like a typed hole