[PATCH v2 5/6] selftests: KVM: extract lidt into helper function