st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed textures