cmd_i2c: quit I2C commands immediately on error