Fix spurious dependency on geant4.

Notice geant4 depends on geant4vis. geant4core is what is actually
wanted.
Merge pull request #4410 from ktf/fix-geant4-dependency

Fix spurious dependency on geant4.