glsl: don't crash when dumping shaders if some come from cache