Fix ELF parsing where undefined symbols were being added to the symbol table with the incorrect symbol type.