GLFW: Add an error callback before calling glfwInit()

To know what happened in case something went wrong.