Create an autorelease pool in glfwPostEmptyEvent.

This prevents leaking NSEvent objects.

Closes #372.