Fix HIP configuration for CMSSW_7_X

Fixing track-refitting sequences to avoid  MeasurementTrackerEvent issues as discussed in other PRs such as #6244 and #6233. Cleanup of the Cosmic data selection and introduction of the warning when using starting conditions for the Global position record with multiple IOVs as in V00-28-00 cvs tag (never entered in release)
For the usage, see the examples in `CondFormats/Common/test/`. They were written by Vincenzo and I long time ago...