Fix rendering bug.

In CoreProfileSaveGLState constructor, create params IntBuffer with 16
elements instead of 1, as the glGetIntegerv calls (in that class)
require an IntBuffer of 16 elements or it will crash.