[PATCH 015/103] qemuxml2argvtest: Refactor QAPI schema validation code