* mips-tdep.c (mips16_get_imm): Fix calculation of extended immediate.