[PATCH openEuler-22.03-LTS 1/1] x86/xen: Add some null pointer checking to smp.c