glsl: catch out of bounds access in the debug version