Fix compilation error in DataFormats/FWLite against ROOT 6

This pull request fixes the compilation error in DataFormats/FWLite in the ROOT6 branch,.