Fix the GDML dump in case of dump of a target volume, defining a proper WorldVolume
This MR fixes the GDML dump in case of dump of a target volume, defining a proper WorldVolume. In fact it is necessary to define a World volume that will contain the geometry sub-tree that needs to be dumped, in order to generate a gdml geometry that is valid for Geant4. Without the world volume the geometry will not be properly defined everywhere (i.e. holes in the geometry) and this might cause segmentation faults when particles are transported in those regions.
This MR has been locally tested and it solves the observed segmentation faults.