mesa: update the shader programs->TexturesUsed array at link time