Clear attacker_stats_ when skipping a weapon
Fix a nullref

Found by coverity
Merge branch 'master' of github.com:wesnoth/wesnoth-old