[PATCH 5.14 020/151] xen/privcmd: fix error handling in mmap-resource processing