libeventd-test: Call g_type_init if needed

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>