GLFW: Add an error callback before calling glfwInit()

To know what happened in case something went wrong.
Changing everything to ERROR_LOG() actually made more sense, it allows for centralized log handling.