fix bug in gl_str() when called with invalid enum