[PATCH 6.0 058/157] memcg: fix possible use-after-free in memcg_write_event_control()