glsl: fix potential slow compile times for GLSLOptimizeConservatively