gallivm: fix cube map array (and cube map shadow with bias) handling