Backward compatible changes to prepare for Gaudi new JobOptionsSvc
These backward compatible changes are needed to make the code compatible with Gaudi versions before and after v34r0, in particular they are required by gaudi/Gaudi!577 (merged), which is going to be merged soon.