nir/spirv: fix memory context for builtin variable