ksm: fix bad user data when swapping