[llvm-readobj][test] - Improve section-symbols.test
section-symbols.test tests how we print section symbols in
We might have 2 different cases:
- A named STT_SECTION symbol.
- An unnamed STT_SECTION symbol.
Usually section symbols have no name and then --symbols uses their
section names when prints them. If symbol has a name, then it is used.
For --relocations we also want to have this logic probably,
but currently we always ignore symbol names and always use section names.
It is not consistent with GNU readelf and with our logic for --symbols.
This patch refines testing to document the existent behavior and improve
Differential revision: https://reviews.llvm.org/D87612