fix: type field of struct usher_seg_t should be set USHER_SEG_EOS by bitwise OR.