[OpenGL] Guard against shaders that have no compilation log.