[Git][ghc/ghc][wip/ani/kill-popErrCtxt] 29 commits: Handle heap allocation failure in I/O primops