[PATCH v4 03/13] iio: inkern: Check error explicitly in iio_channel_read_max()