iio: hid-sensor-attributes: Convert to use int_pow()