nir: Store PatchInputsRead and PatchOutputsWritten in nir_shader_info.