Fixed issue of crash when using LG_SHIELDSPELL, issue: 8172 http://hercules.ws/board/tracker/issue-8172-mapserver-crash-skill-lg-shieldspell/