oom, memcg: fix exclusion of memcg threads after they have detached their mm