nine/basetexture: fix SV last_layer for cube textures