[GHC] #15768: Using oneshot kqueue() on macOS