Upstream SCons has support for MSVS 2022, but our vendored SCons (3.1.2 with patches) lacks it. We will need that support in order to test against VS 2022, but we don't yet want to upgrade to the upstream SCons 4.3 release (we will do that later in SERVER-49234). Instead, we can just cherry-pick the necessary changes from upstream into our vendored SCons.