v3d/tex: handle correctly coordinates for cube/cubearrays images