`printSymbol()`Since all ELFDumper implementations have significant overlap between the LLVM andwill require the same logic when
JSON formats.dealing with Other Flags, This patch factors out some of the common code into a helperwe move the logic into a helper so that it can
function, to avoid repeating identical code.
Depends on D137091be easily reused across implementations.