Run the scripts to bump version to v0.40.07

Because of changes in keybindings previous versions are removed.
Find main windows and linux globals using the scripts.
Auto-mark heap objects aligned after fixing interaction_target.
Add remaining symbols for 0.40.07 win32 for the time being (will likely be a new DF release shortly)