[PATCH 5.15 043/123] memcg: fix possible use-after-free in memcg_write_event_control()