[PATCH openEuler-1.0-LTS 04/32] Xen/gntdev: correct error checking in gntdev_map_grant_pages()