Amplitude compression of high-voltage pulses in subnanosecond formers on gas spark gaps