[PATCH 6.6.y] mm/ksm: fix incorrect KSM counter handling in mm_struct during fork