Core/Battlegrounds: Fixed a crash in queue logging
Core/Dependencies: Fix an issue with CMake not being able to determine the language when linking gsoap
Closes #9704
Merge https://github.com/TrinityCore/TrinityCore