[Git][ghc/ghc][master] 2 commits: ghci/TH: refactor to use IORef QState