[PATCH 6.12 228/277] mm/ksm: fix incorrect KSM counter handling in mm_struct during fork