llvm-objdump: Use range-based-for loop and fix format.

This is a small cleanup before making a bit larger change to this function.