[PATCH 16/21] virPerfReadEvent: Refactor to return -errno on failure