Fixed TIFFImageReader compilation for GCC 4.2 on OS X.

Converting string constants to char * is deprecated - so we must use const char *.
Fixed crash in ShaderStateComponent::addParametersToShaderSetup().