Add an internal glib functor header to CTF Writer

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>