AthenaMonitoringKernel: fix race condition in LB histograms

Fix potential race condition in deregistration of LB histograms.

Relates to ADHI-4905.
1 job for lbhist2 in 0 seconds (queued for 1 minute and 25 seconds)