HAL_AVR: constrain Vcc used in voltage_average()

this ensures a bad Vcc reading doesn't throw off analog inputs too
much