[libvirt] [PATCH] xen: Replace statsErrorFunc with a macro