glsl: fix crash in loop analysis when some controls can't be determined