Thread safe fixes for DataFormats/ParticleFlowCandidate

Fixed thread-safety issues found by the static analyzer for PFCandidate, PFCandidateEgammaExtra and PFCandidateElectronExtra.