Guard event queue message removal, not all of ProcessEvents().

Fixes a deadlock we may otherwise run into if any of the called QEMU
functions results in our update hook being invoked. This may for
example happen when we invalidate the screen.