nv50: fix handling of depth textures