st/mesa: adapt for the case where buffers are not supported in frag
Some logic was tuned to buffers / atomics / images being supported in frag stages in order to expose any support at all. Fix some of these assumptions.
Signed-off-by: Ilia Mirkin imirkin@alum.mit.edu