nir: add a C wrapper for glsl_type::get_interface_instance()