Use item::use_charges and item::use_amount in map.cpp

This belongs into #7343. I forgot that the map has its own `use_charges` and `use_amount` - another copy of it.

Uses `long` as type for the charges, as charges are stored as `long` and the other functions use it anyway.