Replacing runtime cms::Exception calls with edm::LogError calls in the jet flavour code: Backport from 7_1_X to 6_2_X_SLHC

Backport of #3785