mesa: Add support for the GL 3.1 R/RG formats in texture buffer objects.