trivial: Make as_profile_dump() threadsafe
trivial: Make as_profile_dump() threadsafe

hughsie/appstream-glib,ximion/appstream-glib,hughsie/appstream-glib,hughsie/appstream-glib,ximion/appstream-glib,ximion/appstream-glib