Deduplicate calorimeter energy loss state updater in GlobalChi2Fitter
Previously, this bit of code was duplicated three times across the code, which is a code smell. @cbittric suggested this change in a code review for !35949 (merged). This commit deduplicates the code, converting all three instances to a call to a single new method.