Thread Safety changes for  RecoTracker/MeasurementDet

Use std::atomic<bool> when trying to be sure a LogError message will only ever be printed once.
## Approval Status ##
Reconstruction: NOT APPROVED