Fix glTexStorage*D.