Thread safe changes for FastSimulation/TrackingRecHitProducer

This is identical set of changes submitted to prior ticket #1369 which had merging problems.