configure: mips: Support both-endian compilers