[PATCH v3 3/5] KVM: selftests: Add safe_halt() and cli() helpers to common code