Check inventory stacks for slots with a quantity of 0 when saving/loading

This fixes a stack of 0 gold being added to the player's inventoty in
flare-game.