intel/anv: Add missing NULL pointer check
I'm surprised that fossilize-replay
is the only thing that fails due to this issue. What's the right testing strategy to prevent something like this happening again?
Fixes: 22631611 ("intel/anv: Fix condition to set MipModeFilter for YUV surface")
Closes: #4324 (closed)