regulator: keep index within bounds in da9034_get_ldo12_voltage()