Restore linking to libmingwthrd
Restore linking to libmingwthrd

Possibly necessary to get threadsafe stdlib behaviours

bitcoinknots/bitcoin,bitcoinknots/bitcoin,bitcoinknots/bitcoin,bitcoinknots/bitcoin,bitcoinknots/bitcoin