cpus-common: simplify locking for start_exclusive/end_exclusive