[Git][ghc/ghc][wip/ghci-no-simpl] 17 commits: Handle heap allocation failure in I/O primops