perf probe: Fix crash in dwarf_getcfi_elf