trivial: Fix compile when using appstream-glib <= 0.3.2