swap: fix shmem swapping when more than 8 areas