[PATCH v6 1/7] KVM: selftests: Consolidate common code for populating ucall struct