patch 8.2.0490: Win32: VTP doesn't respect 'restorescreen'

Problem:    Win32: VTP doesn't respect 'restorescreen'.
Solution:   Use escape codes to switch to alternate screen. (Nobuhiro
            Takasaki, closes #5872)
diff --git a/src/os_win32.c b/src/os_win32.c
index 1952b36..77e43d5 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -5431,6 +5431,9 @@
     if (g_fTermcapMode)
 	return;
 
+    if (!p_rs && USE_VTP)
+	vtp_printf("\033[?1049h");
+
     SaveConsoleBuffer(&g_cbNonTermcap);
 
     if (g_cbTermcap.IsValid)
@@ -5530,6 +5533,9 @@
 	SetConsoleCursorPosition(g_hConOut, coord);
     }
 
+    if (!p_rs && USE_VTP)
+	vtp_printf("\033[?1049l");
+
     g_fTermcapMode = FALSE;
 }
 #endif // FEAT_GUI_MSWIN