Removes a few unnecessary shader updates.

(We now flush shader status to shaders immediately before drawing,
instead of as our internal state changes)
Turns off C++ exception support for gcc builds.