intel: added null ptr check

Fixes segfault in context tear-down when glClear was never called.
1 file changed