d3d9: Toggle depth test state based on auto depth stencil.