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

(based on commit [12367] - eadfd08c374fa77ac6a6c4ecbc113755cfb83a7f)