Add SDL_PushEvent() to one of the hooked SDL functions.

This is needed by Dfterm3 plugin.
Make Dfterm3 plugin compile on Windows.

It is possible this commit breaks Linux build, because I could not test
it. Further commits shall fix it if that is the case.