Improved measurement of the ac longitudinal resistance at the high-potential side of quantum Hall devices