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