nir: Add a structured flag to nir_shader