[PATCH 5.16 116/164] iio: adc: tsc2046: fix memory corruption by preventing array overflow