i965: Fix crash when calling glViewport with no surface bound
i965: Fix crash when calling glViewport with no surface bound

If EGL_KHR_surfaceless_context is used then glViewport can be called
with NULL for the draw and read surfaces. This was previously causing
a crash because the i965 driver tries to use this point to invalidate
the surfaces and it was derferencing the NULL pointer.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93257
Cc: Nanley Chery <d78cd5d33e98a5581566f188959f731bd0b1c0fd@intel.com>
Cc: "11.1" <59f39c0db42d4479a46b02d4d2bc11120e37bb44@lists.freedesktop.org>
Tested-by: Nanley Chery <d78cd5d33e98a5581566f188959f731bd0b1c0fd@intel.com>
Reviewed-by: Nanley Chery <d78cd5d33e98a5581566f188959f731bd0b1c0fd@intel.com>

metora/MesaGLSLCompiler,metora/MesaGLSLCompiler,metora/MesaGLSLCompiler