[z2246] Add some creature_template level checks to avoid client crashes with invalid values

(based on commit [12367] - eadfd08c374fa77ac6a6c4ecbc113755cfb83a7f)

(based on commit [12351] - 3de95a5)

(based on commit [s1883] - c772b79)