nbody: Fix crash when glfwGetPrimaryMonitor fails