Use "pipefail" in setup.sh

Instead of checking if patches exist (and to possibly prevent such bugs in future) we can just enable pipefail for the whole script. I've looked through it and I think that nothing should break (we don't have possibly failing pipes besides patch uncompressing one). cc @edolstra , #4445