[PATCH v5 02/13] lib: Prefer g_autoptr(dnsmasqCaps) instead of explicit unref