gl2: move attrib and uniform caching to internal/glutil