nir/lower_io_to_scalar: Convert to use nir_shader_instructions_pass().