Speed up crafting can_make function

Fixed pull request, for details see https://github.com/CleverRaven/Cataclysm-DDA/pull/4529