Fix batch craft saving

This fixes a somewhat obscure error, but is also a major correctness issue.
The actual bug is that if you start crafting a batch of something, autosave, then either Ctrl-C out of the game or the game crashes, your batch is reset to 1, even though it will take the full amount of time to do the craft.
It used to be worse, but was mitigated by #9504
This fully fixes #9482
The correctness issue is that data was being stashed in recipe definitions, this is a really, really bad idea and is worth changing if we see it anywhere.