dri/nouveau: only reallocate texture when needed