test: fix copy-paste error & clarify

The second error message would have printed the GLSL version string, rather than the OpenGL version string.