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