I2C bug fixes

1. Fixed a bug which forced START condition after RESTART.
2. Fixed a bug which caused incorrect response (ACK/NACK) when reading
data.