memory: convert memory_region_destroy to object_unparent