InDetTrackPerfMon: use SmartIF instead of deprecated service pointers
Bare service pointers are deprecated in Gaudi v39r1.
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
Bare service pointers are deprecated in Gaudi v39r1.