[s2771] Fix compile for CMaNGOS s2078

Thanks to dbauz for pointing. Requires CMaNGOS [s2078]

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit [2983] - 69456a5)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>