mm/swap_slots.c: fix race conditions in swap_slots cache init