workaround mis-implemented __sync_lock_release with Cray C