Shader: more robust extension presence checking.

Propagate the information about whether given extension is disabled to
GLSL instead of doing the guesswork again from scratch.
Disable ARB_explicit_uniform_location on AMD drivers.

It causes GLSL compiler crash in 13.251 linux driver. Not sure about
other platforms.