Make BackendConfig in HloInstruction thread-compatible
Make BackendConfig in HloInstruction thread-compatible

`backend_config_` is currently a mutable member variable that was not
protected by a mutex.

This is adding the missing mutex as a short term solution. Long term
we want to avoid the lazy caching logic altogether, but this requires
some restructuring first.
