Fixed an unsafe TBL_PC* cast in battle_calc_elefix

This would cause a mapserver crash whenever the function was called by a
monster attack.
The issue was introduced in 03956104
Merge pull request #45 from MishimaHaruna/master

Fixed an unsafe TBL_PC* cast in battle_calc_elefix