Fix printing of GL errors.