Linux: re-implement eventfd() against old glibc versions