Move our changes to URILoadingHelper.sys.mjs to a function of its own
The about:torconnect
commit contains some changes to browser/modules/URILoadingHelper.sys.mjs
that requires us to raise the complexity level for the linter.
I think we could instead create a function and see if it's enough not to raise the complexity.
/cc @henry