[mips] Reorder template parameters. Remove class shift_rotate_imm32 and
shift_rotate_imm64.