lib/process: Don't abort stdout reads on EINTR