JetCalibTools: Fix bad static_cast.
EtaJESCorrection was retrieving histograms from a ROOT file and casting them to TH1D. However, they were actually TH1F. This gets a warning from the undefined behavior sanitizer. Clean up by instead casting to TH1. Also change to a dynamic_cast, so if there's a mismatch in the future, it will fail hard.