test-pread.sh: avoid diagnostics for those who ignore SIGPIPE