intel/compiler: fixup Gen12 workaround for array sizes
We didn't handle the case of NULL images/textures for which we should return 0.
Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: 397ff297 ("intel: Implement Gen12 workaround for array textures of size 1") Closes: #3522 (closed)