nir/lower_discard_to_demote: Use nir_shader_instructions_pass().