mesa: change accepted formats by TexBufferRange
Let's consider one format: GL_ALPHA16F_ARB.
- Create CORE profile GL context
- glTexImage2D accepts this format (please see glformats.c - _mesa_base_tex_format function)
- glTexBufferRange doesn't accept this format
This is not consistent.
This change is changing format validation in glTexBufferRange to be consistent with glTexImage2D format validation path.