switch elf_coredump_extra_notes_write() to dump_emit()