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