oom: avoid killing a task if a thread sharing its mm cannot be killed