[PATCH openEuler-1.0-LTS 10/13] memcg: fix possible use-after-free in memcg_write_event_control()