LArVolumeBuilder: make material garbage collection thread-safe and remove mutables
- Make the material garbage collection thread-safe by collecting pointers locally and transfer them into global trash at the end using a lock.
- Replace mutable mbts variables with local variables.