[PATCH v2 3/7] testSysinfo: Use more g_auto*()