Drop the code looking up undefined .symtab entries as no longer needed after
GCC interface changes.
Extend testcase for an undefined function test.