window: log any GLFW error on shutdown.