gallium/nir/tgsi: fix nir->tgsi info conversion for samplers/image