Revert CosmicsMuonIdProducer back to Legacy

CosmicsMuonIdProducer was missed when we converted all modules using
MuonDetLayerGeometry back to legacy to avoid thread safety problems.
Merge pull request #3632 from Dr15Jones/revertCosmicsMuonIdProducerToLegacy

Multithreading -- Revert CosmicsMuonIdProducer back to Legacy