ac/nir: make handle_shader_output_decl() non-static