glsl/webclgl backend: fixed for loop.