coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping