[PATCH backport] membarrier: Explicitly sync remote cores when SYNC_CORE is requested