GLFW: Add an error callback before calling glfwInit()

To know what happened in case something went wrong.
I mostly wanted to stay consistent with that file.