Fix WM_QUIT drain in TestGameBase

According to MSDN, WM_QUIT causes GetMessage to return 0. Checking for
this fixes a hang issue when running the Windows build of MonoGame on
Windows 8.1.
Merge pull request #2388 from thefiddler/win_test_hang

Fix WM_QUIT drain in TestGameBase