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

this bug seems to have caused any failure by pipe2 on such systems to
set errno to 1, rather than the proper error code.

chardi/musl,chardi/musl,chardi/musl