Core effects on ionization potentials in thallium