Fixes glfwGetKey that always returns 0 if no callback is set with glfwSe...

...tKeyCallback; fixes #1320

This change was tested with a modified tests/glfw.c file. I didn't managed to run the unit tests in order to automate it. As suggested in the bug comment, something like sdl_key test would be a good indeed.