coredump: set_dumpable: fix the theoretical race with itself