iio: light: Add gain-time-scale helpers