Don't access elf tdata in dwarf.c without first checking for an ELF bfd