[PATCH AUTOSEL 4.14 06/19] i2c: altera: Fix potential integer overflow