glib2: add mark/free functions change API