This commit introduces an abstraction to allow knowledge of how to dump
an ELF note record into the target that it is specific to.
llvm-readobj's ELF dumper uses the new abstraction, although no target
yet implements it. A subsequent change will move dumping of the
AMDGPU-specific note records out of llvm-readobj and into