Invalidate crafting inventory after using items.

Fixes #10600 - activating the flashlight does not take any moves (this might be a bug). Therefor the crafting inventory is not changed and the crafting system thinks there is still a flashlight (off) available.

This adds invalidates the crafting inventory after `player::use` is called from game.cpp, the bug might have also affect other (rare) situations when an item was used up but no moves had been used.