Fix elf_core_dump() when writing arch specific notes (spu coredumps)