Better handling of an invalid shaders.

If shader is invalid the programm will be crashed.
The better way is to rise an assert and write message to the error log.
Platform: Windows
Explain: Functions in glew32.dll have unstandart call conversion. Typecast (GLInfoFunction) is invalid.