dwarf-fortress 0.40.04

Updated dwarf-fortress to version `0.40.04`.

In this build:

 * Major bug fixes:
   * Fixed a crash with pathing for jumps
   * Fixed a crash related to invading squads attempting to train
   * Fixed an overpopulation bug for civilized critters and a related one for site animals
   * Fixed problem with retired fort uniform settings crashing later visits to the fort
   * Stopped a crash associated to misplaced books/slabs (root cause remains, added some logs)
   * Fixed position appointment issue that caused some instability
   * Tried to make idle code somewhat better about climbing while still getting dwarves out from being stuck
   * People with a weapon should use it with the proper frequency now

 * Other bug fixes/tweaks:
   * Fixed problem with animal training/taming vs. lingering combat data (caused job cancel spam and inability to complete jobs)
   * Stopped nearby objects from being teleported by construction removal and a related problem with the item loop (ag/Quietust)
   * Made site finder properly indicate flux layers (Quietust)
   * Made game better respect existing directory structure in data/save when creating new directories
   * Made tops of walls appear properly when trees above walls are removed
   * Made strangulation take less time
   * Enhanced sapling survivability
   * Fixed a problem that caused vermin to occasionally be generated out of the loaded area
   * Fixed a problem that corrupted the information about items on the ground with temperature changes
   * Fixed some brokenness with climbing AI vs. ledge tops
   * Fixed a broken instance of chasing opponent AI vs unwalkable spaces
   * Made climbing have a higher path cost
   * Made people less likely to climb after a failure
   * Babies don't start strapped with a knife