spirv: Rework our handling of images and samplers