Prevent console errors when clicking to change page while in Presentation Mode (issue 8498)
Prevent console errors when clicking to change page while in Presentation Mode (issue 8498)

The click handler used in Presentation Mode didn't check if the first/last page was already reached, which after PR 7529 now causes an unnecessary console error.
Hence we should simply use the already existing `_goToPreviousPage`/`_goToNextPage` methods instead, since they do the necessary bounds checking.

Fixes 8498.

mozilla/pdf.js,nawawi/pdf.js,websirnik/pdf.js,adlerweb/pdf.js-Touch,showpad/mozilla-pdf.js,macroplant/pdf.js,Shoobx/pdf.js,nawawi/pdf.js,caremerge/pdf.js,macroplant/pdf.js,Shoobx/pdf.js,timvandermeij/pdf.js,xavier114fch/pdf.js,timvandermeij/pdf.js,Rob--W/pdf.js,Snuffleupagus/pdf.js,nawawi/pdf.js,skalnik/pdf.js,showpad/mozilla-pdf.js,websirnik/pdf.js,mainegreen/pdf.js,xavier114fch/pdf.js,timvandermeij/pdf.js,Rob--W/pdf.js,skalnik/pdf.js,mainegreen/pdf.js,adlerweb/pdf.js-Touch,Snuffleupagus/pdf.js,mozilla/pdf.js,caremerge/pdf.js,mukulmishra18/pdf.js,Snuffleupagus/pdf.js,mozilla/pdf.js,macroplant/pdf.js,Shoobx/pdf.js,mukulmishra18/pdf.js,showpad/mozilla-pdf.js