VS: Fix VS_SDK_REFERENCES when target is not a Windows 10 app

Close the `<ItemGroup>` element whenever it is opened.
Status Job ID Name Coverage
  External
passed ghostflow-branch-check-master

passed ghostflow-commit-check

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager