#24103 added annotations to
denote that the callers of CChainState::ActivateBestChain()
and
CChainState::InvalidateBlock()
must not own m_chainstate_mutex
at
the time of the call.
Replace the added LOCKS_EXCLUDED()
with a stronger
EXCLUSIVE_LOCKS_REQUIRED()
, see
https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#negative for the
difference between both.