Probably almost certainly. No testicles means no testosterone, which largely means no sex drive.
^^^^^^Your girlfriend is not going to get pregnant from having sex with a different species than a human.
So there is no need to castrate your dog.
Also if your only need to have a dog is to watch your GF fuck it, do not get a dog.