Related to #482 as a sub task. Fix all level 1 compiler warnings in Generals + Tools for the Vs22 build. Only Fix warnings that won't change behaviour or break VC6 compatability.