lavapipe: do not assert on more than 32 samplers
We can have more than 32 samplers, but the code below will assert in that case. The return value is not used for samplers, so let's just return zero early and be done with it.
Fixes: c18ff600 ("lavapipe: emit correct textures_used for texture-arrays")
Edited by Erik Faye-Lund