increase segment refcnt only if evbuffer_add_file_segment() succeeds (cherry picked from commit 114b3836755f1e526e658b248464465136bd87b8)