[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 13 commits: Correct `hIsReadable` and `hIsWritable` for duplex handles