Fix infinite loop in DWARF parser spotted by Melkor