[PATCH v4 2/8] mm/swapops: Rework swap entry manipulation code