[PATCH 5/6] chExtractVersion: use g_auto*