[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 21 commits: Handle heap allocation failure in I/O primops