VS: Fix managed C++ project generation for VS 2022 VS 2022 expects managed `.vcxproj` files to have a `ManagedAssembly` element. Fixes: #22583