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