[RFC PATCH v3 4/8] KVM: selftests: Make a generic helper to get vm guest mode strings