[Git][ghc/ghc][wip/T26903] Fix subtle bug in cast worker/wrapper