st/mesa: add some debugging code in st_ChooseTextureFormat()