MIPS: add support for pre-relocation malloc