RecExCommon: fix legacy monitoring

Frank Winklmeier requested to merge fwinkl/athena:recexlock into 23.0

Fix two problems in the legacy monitoring that is still used in some ART tests:

  • JetTagMonitoring: Fix bug introduced by !62397 (merged) in legacy configuration.
  • AthenaMonitoring: Lock the flags before running the trigger configuration in the legacy monitoring. Required for some remaining Run-1 RAWtoALL tests.

Relates to ATR-27337.

Merge request reports