Core: Fix compiler warnings
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore