spirv/nir: create nir variable for UBO/SSBO