Fix :mod:`asyncio` write pipe transports for named FIFOs on macOS and Solaris.
Unread data sitting in the FIFO made the transport misinterpret a poll event
as the reader disconnecting, wrongly closing the transport.
