Use named constant rather than '0' to access the reset controller register.
Support CXXFLAGS.${MACHINE_ARCH} as well as CFLAGS.  This allows different
C++ options for toolchain versus target when cross-building.