simpleperf: fix reading dynmaic symbols.

Add a missing check when looking for a symbol's associated section.

Bug: 112405524
Test: manually add log in ReadSymbolTable() to make sure the
Test: section_end case works.
Test: run simpleperf_unit_test.
Change-Id: Ie75d3791086cf3d14dab0a763cfa92b4e73f82c5
1 file changed