Fix Bug 827 - ShaderProgam helper class reports errors incorrectly