* elf.c (_bfd_elf_write_object_contents): Check for non-NULL