glsl: add ARB_shader_texture_image_samples infrastructure