Improve uncrustify.sh return code handling
Apparently, the exit code for the script does not work on Jenkins.
I can only guess whether this is caused by different bash (with some
differences in the support for set -o pipefail) or git versions (with
different behavior of the --exit-code flag in combination with the other
flags), or something else, but these changes seem to make it work.
Apply uncrustify with reformat_all.sh to fix any issues that have been
slipped through so far.
Change-Id: I005eed88f839014f38992826ad7b984b8ad3597e