avoid form of ATOMIC_WRITE that seems to technically be contrary to OpenMP spec