nir/spirv: Add support for creating image variables