Ramped measurement technique for robust high-fidelity spin qubit readout