[PATCH v2 19/23] testQemuInfoSetArgs: Move argument fetching to the loop