nir: move nir_shader_info to a common compiler header