streamline old-kernel fallback path of pipe2 to use syscalls directly