st/mesa: add option to choose a texture format that we won't render to.