Replace the Safari detection in `checkRangeRequests` in compatibility.js with a regular expression
Replace the Safari detection in `checkRangeRequests` in compatibility.js with a regular expression

According to e.g. issue 7754, it appears that the current `isSafari` check is failing in newer version of the browser. Despite the fact that checking the userAgent is an anti-pattern, which should be avoided, it's currently the simplest solution.

adlerweb/pdf.js-Touch,yurydelendik/pdf.js,caremerge/pdf.js,xavier114fch/pdf.js,mozilla/pdf.js,skalnik/pdf.js,skalnik/pdf.js,Snuffleupagus/pdf.js,xavier114fch/pdf.js,ydfzgyj/pdf.js,showpad/mozilla-pdf.js,websirnik/pdf.js,mainegreen/pdf.js,WhitesteinTechnologies/wt-vaadin-pdf.js,1and1/pdf.js,jasonjensen/pdf.js,Shoobx/pdf.js,timvandermeij/pdf.js,adlerweb/pdf.js-Touch,nawawi/pdf.js,ydfzgyj/pdf.js,macroplant/pdf.js,1and1/pdf.js,Shoobx/pdf.js,showpad/mozilla-pdf.js,timvandermeij/pdf.js,mainegreen/pdf.js,Snuffleupagus/pdf.js,Rob--W/pdf.js,caremerge/pdf.js,tinderboxhq/pdf.js,macroplant/pdf.js,mukulmishra18/pdf.js,a0preetham/pdf.js,tinderboxhq/pdf.js,nawawi/pdf.js,mysterlune/pdf.js,yurydelendik/pdf.js,jasonjensen/pdf.js,websirnik/pdf.js,timvandermeij/pdf.js,mozilla/pdf.js,macroplant/pdf.js,mysterlune/pdf.js,mukulmishra18/pdf.js,Snuffleupagus/pdf.js,showpad/mozilla-pdf.js,a0preetham/pdf.js,Rob--W/pdf.js,Shoobx/pdf.js,WhitesteinTechnologies/wt-vaadin-pdf.js,nawawi/pdf.js,mozilla/pdf.js