Nanosecond gating of superconducting nanowire single-photon detectors using cryogenic bias circuitry