webgl: Do validation of glScissor/glViewport(width, height) on the DO… …
…M side. Avoids testcase CRASHes due to unexpected GL errors.