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 tests for the Windows build of MonoGame on
Windows 8.1.