Move to llvm-readobj code that is only used there.