[Git][ghc/ghc][wip/jeltsch/duplex-readability-and-writability] Correct `hIsReadable` and `hIsWritable` for duplex handles