[PATCH openEuler-5.10 07/80] xen/privcmd: fix error handling in mmap-resource processing