Core/Misc: Fix crash in ticket creation

Fix a crash happening with malicious CMSG_GMTICKET_CREATE packets.
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb
更新