GlobalRef passed by value in reflect_dom_object, reflect_node #4165

Changed fn_wrap argument in reflect_dom_object() and reflect_node() to pass GlobalRef by value rather than by reference.  Fixes #4165