target/mips: Fix potential integer overflow (CID 1452921)