[PATCH 5.4 25/67] memcg: fix possible use-after-free in memcg_write_event_control()