extracting swapStruct into include/llvm/Support/MachO.h (no functional change)