migration: Fix non-multiple of page size migration