glsl: stop adding pointers from shader_info to the cache