geckolib: Allow an ErrorReporter to be created with null URL data.
7940061
This allows us to create an ErrorReporter that will report errors as being "from DOM" rather than a specific URL. Also, factor out a method on ErrorReporter so that we don't need to pass in a UrlExtraData reference.