TCPCI: Stop I2C transfer after discovering no message to read
TCPCI: Stop I2C transfer after discovering no message to read

Set I2C_XFER_STOP after reading an invalid number of bytes, either a
count less than 0 or one larger than the driver can cache.  Also ensure
the STOP is sent on failed header reads.

BRANCH=None
BUG=b:162557086
TEST=on boten, charging ports do not become stuck on dongle unplug

Signed-off-by: Diana Z <cb2016afc7183e5356c690dc63b4ba817470501a@chromium.org>
Change-Id: I51a07fe629a58b61fe2f1d34425741acbfab8cba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2380174

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec