Move updating of `this._maxUid` into `PDFHistory._updateInternalState`
Move updating of `this._maxUid` into `PDFHistory._updateInternalState`

There's no compelling reason to update this property *manually* in multiple places, since that's error-prone with any future code changes, given that `_updateInternalState` is always called just before anyway.

Shoobx/pdf.js,xavier114fch/pdf.js,xavier114fch/pdf.js,timvandermeij/pdf.js,nawawi/pdf.js,nawawi/pdf.js,caremerge/pdf.js,nawawi/pdf.js,showpad/mozilla-pdf.js,mozilla/pdf.js,mozilla/pdf.js,macroplant/pdf.js,timvandermeij/pdf.js,Shoobx/pdf.js,Snuffleupagus/pdf.js,mozilla/pdf.js,caremerge/pdf.js,Snuffleupagus/pdf.js,macroplant/pdf.js,timvandermeij/pdf.js,showpad/mozilla-pdf.js,Shoobx/pdf.js,Snuffleupagus/pdf.js,showpad/mozilla-pdf.js,macroplant/pdf.js