mesa: fix using texture id 0 with gl*TextureParameter*()