Revert "use _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE"