glsl: Add std430 support to program_resource_visitor's member functions