Fix memory leak in ofAppGLFWWindow, catch-up for #2817