Merge upstream patch to fix build on big-endian architectures. Also unmark mips and mips64 as broken, now builds fine. MFH: 2020Q4 (fix build blanket)