[PATCH 4/5] ch: use g_auto in virCHMonitorBuildKernelRelatedJson