nir/glsl: Emit memory barriers as part of barrier()