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