Protocols to measure the non-Abelian Berry phase by pumping a spin qubit through a quantum-dot loop