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.
Merge pull request #215 from 3xp0n3nt/batch-render-dev

Fix rendering bug.