protect gc_ref finalizer against dead objects (could happen if the user called gc_unref manually)
add gc_move_ref function for transfering ownership of a Gtk object reference from one Julia object to another