preliminary support for MIPS32 target

The MIPS O32 ABI implementation is translated from clang's.