Voltage repeater circuit for loads with a resistive component with harmonic distortion compensation