[PATCH 6.12 344/422] mm/compaction: fix UBSAN shift-out-of-bounds warning