DB/Quests: Fix half sleep fail in 6a471755231eb6481c7ce2091b58755b10373acc
Fixed ==25829== Thread #1: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread

==25829== at 0x4C2A1D5: pthread_cond_broadcast_WRK (hg_intercepts.c:891)
==25829== by 0x654A758: std::condition_variable::notify_all() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==25829== by 0x132305A: ProducerConsumerQueue<SQLOperation*>::Cancel() (ProducerConsumerQueue.h:100)
==25829== by 0x13229A7: DatabaseWorkerPool<WorldDatabaseConnection>::~DatabaseWorkerPool() (DatabaseWorkerPool.h:70)
==25829== by 0x6C6CB21: __run_exit_handlers (exit.c:78)
==25829== by 0x6C6CB74: exit (exit.c:100)
==25829== by 0x6C54EF3: (below main) (libc-start.c:276)
Core/Sai: Added ugly code for new sai error log :(
Core/Sai: Added missing changes in 4060fb1b592ef50ab0c5bd450ddc94a1461e900e
Core/Sai: Added better version for 4060fb1b592ef50ab0c5bd450ddc94a1461e900e
Core/AHBot: Fix reference_loot_template being excluded from ahbot items

Fixes #13265
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4