d3d10/effect: Fix iteration in GetBackingStore() for depth stencil states.