message: fix static_assert for macro HAVE_THREAD_LOCAL
  fix static_assert for macro HAVE_THREAD_LOCAL while define DEBUG_LOCKCONTENTION
diff: // Distributed under the MIT software license, see the accompanying
  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  +#if defined(HAVE_CONFIG_H)
  +#include <config/bitcoin-config.h>
  +#endif
  +
  #include <sync.h>
  #include <tinyformat.h>
  