Related to #482 as a sub task.
Dependent on #499 being completed first to decrease number of warnings shown.
Fix all level 2 compiler warnings in Generals + Tools for the Vs22 build.
Only Fix warnings that won't change behaviour or break VC6 compatability.