nir/spirv: do not require a format with images that are not sampled