[PATCH 5.4 095/152] i2c: altera: Fix potential integer overflow