[PATCH openEuler-23.09] mm: gmem: Init gmem state counter