st/dri: Don't call invalidate_resource for NULL depth/stencil buffers