Eluna Fix static int GetGUIDType, static int GetGUIDEntry

Based of old MaNGOS Commit
https://github.com/eluna-dev-mangos/ElunaCoreWotlk/commit/00b0f5174c40af5a39c258fdb1836fad3420bf76

Signed-off-by: Salja <salja8840@gmail.com>