[Git][ghc/ghc][wip/sjakobi/T13729] 74 commits: Correct `hIsReadable` and `hIsWritable` for duplex handles