Reentrant localization transitions in a topological Anderson insulator: A study of a generalized Su−Schrieffer−Heeger quasicrystal