[Git][ghc/ghc][wip/T26989] 2 commits: Do not use mkCast during typechecking