This fixes #4166. throw_dom_exception will take the GlobalRef by value, and all generated code will pass it by value.
auto merge of #4479 : mattnenterprise/servo/globalref-by-value, r=jdm