cmssw: add support for ROOT6 branch

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>