Fix geant4 settings in gconfig scripts
The scripts are the old way to define settings for geant3 and geant4 and are still used in some of the test macros. With this commit the changes already implemented in the new class CbmGeant4Settings some time ago with commits cb453d4b and 982c4b76 are added to fix errors during Geant4 initialisation.
These scripts are for example used in the macro/C2F/c2f_transport.C