[PATCH 4.14 179/338] i2c: ismt: Fix an out-of-bounds bug in ismt_access()