AVR I2C: bug fix

Fix provided by both Jason Short and lucafedechen independently