Emit __global qualifier only when needed.