fix several crash bugs for corrupt elf files

Fixes two crash bugs that would be exposed if an elf file was opened
that had a symbol table with a corrupt string table link value.
Currently the symbol table will no longer appear as a viewing mode.