Move event_buffer_timeout_set to avoid harmless event_pending warnings in later libevent versions