i965: check NULL pointer. fix bug#12193
1 file changed