target-mips: use the TCG_CALL_PURE and TCG_CALL_CONST for some helpers