Add wrappers for glScissor and glGetIntegerv

These are necessary for iframe support within the compositor.