[PATCH 5.4 312/658] i2c: ismt: Fix an out-of-bounds bug in ismt_access()