glsl: Detect do-while-false loops and unroll them