[PATCH v6 2/7] KVM: selftests: Consolidate boilerplate code in get_ucall()