Robust optical orientation of spins in Ge/SiGe quantum wells