[Git][ghc/ghc][wip/io-manager-deadlock-detection] 191 commits: Handle heap allocation failure in I/O primops