Events: Improve compatibility for building events code across Xen versions.