cmd_i2c: change variable type for 10bit addressing support