coredump: fix the setting of PF_DUMPCORE