nir: Add a new nir_var_mem_constant variable mode