ac/nir: Add deref support to image intrinsics.