x86/hyperv: Prevent potential NULL pointer dereference