Restore the Bug 971914 - Don't set and restore state constantly inside CompositorOGL. r=nical