Added DEBUG_AVERAGE_VOLTAGE

Added DEBUG_AVERAGE_VOLTAGE to enable/disable "Number of samples for
voltage average" message in release build.