Use of a new pointer FLAG inside GSERIALIZED instead of a distinction based on size
Change signature of (un)serialize_ref_object