eal/linux: fix handling of error events from epoll