Added lthread_is_eventfd interface.

This is needed on CentOS 6 to detect the lthread event file
descriptors from application code.