Make PrintInfoLog work for both glsl shader objects and program objects