mesa: move depth/stencil buffer validation to swrast