Fix clang problems in DataFormats/PatCandidates

Clang found one actual bug and complained about inconsistencies with a forward declaration. With the inclusion of some clang fixes in other packages, this package now builds cleanly.