compaction: fix build error in CMA && !COMPACTION