gallium: do not reset buffers for unsupported stages
There's no good reason why drivers that doesn't grok geometry, tesselation or compute shaders needs to deal with them.
This fixes a crash on a lot of Piglit tests for Zink.
Fixes: daaf5f1d ("gallium: Fix leak of currently bound UBOs at CSO context destruction.")