Add mips gdb support

Adds mips qemu gdb support.
Adds byteswap to register reads and writes when cfg.bigendian == true;