Fixed link error introduced by previous commit

After the last commit GLFW was failing to link because __glfwPlatformSetCursorMode is undefined on OS X, so I changed the calls to use __glfwPlatformApplyCursorMode instead which links ok. Examples work fine.