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