compaction_manager: rewrite_sstables: acquire _compaction_locks
compaction_manager: rewrite_sstables: acquire _compaction_locks

Take write lock for cf to serialize cleanup/upgrade sstables/scrub
with major compaction/reshape/reshard.

Signed-off-by: Benny Halevy <23c997c90eb8537635e9392d48e7af1bf1b2ca22@scylladb.com>

scylladb/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla