[PATCH 5.15 495/731] i2c: ismt: Fix an out-of-bounds bug in ismt_access()