7978abd5 fixed a build issue on MSVC with some code I previously added, by adding some ifdefs. Now I realise that I should have been using llvm::byteswap in the first place, which does exactly that.