simpleperf: check elf files with broken section tables.

Some applications ship elf files with broken section tables.
This crashes simpleperf when it tries to read symbols from the
broken elf files while doing system wide profiling.
So fix it by checking existence of symbol sections before reading
symbols.

Bug: None.
Test: simpleperf_unit_test.
Change-Id: If581cd2d83df55f1cadc253222d5d8242ebddafd
3 files changed