fix double errno-decoding in the old-kernel fallback path of pipe2