getUniquedSectionName(const Elf_Shdr *Sec) assumes that
Sec is not nullptr.
I've found one place in getUniquedSymbolName where it is
not true (because of that we crash when trying to dump
unnamed null section symbols).
Patch fixes the crash and changes the signature of the
getUniquedSectionName section to accept a reference.
Seems to me like this assert is rather unnecessary? That's just saying that the previous line's calculation is correct.