Make core dump writes interruptible with SIGKILL
(cherry picked from commit b5cadc643e853fa4cb23e5315e6f40bf9979a9c0)