build: fix logic so `scons warnings=0` doesn't cause -Werror to flap on and off every build.
scripts: handle spaces in $DROPDIR in build-newlib.sh
src: fixed a bunch of compiler warnings