Convert `src/display/pattern_helper.js` to use standard classes
Convert `src/display/pattern_helper.js` to use standard classes

Note that this patch only covers `TilingPattern`, since the `ShadingIRs`-implementation required additional re-factoring.

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