From m|m: Fix for Mantis 2914 (AmmoLeft and AmmoMax return strange things in scripting)

git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9752 387891d4-d844-0410-90c0-e4c51a9137d3