Fixes the issue of activating items with 0 charges still activating.

Fixes #7649 and #7557.

This is a fix for sewing kits, fire extinguishers, things that start fire (that use charges), and jackhammers. I believe that there may be a more efficient way of doing this, specifically in player.cpp around line 8808, which would allow for all of these lines, and other ones that currently exist (like flashlights, power supplies, etc.) to be combined into one place, but this solution seems to work for the time being.

Super new to git and c++ in general, so let me know if there's something that I should keep in mind for the future.