xen: events: fix xen_map_pirq_gsi error return