[PATCH 18/27] user32/tests: Fix test_restore_messages() message sequences to support WinEvents.