glsl: More work on finishing multidim support for glsl_type::get_array_instance