ring-buffer: fix ret in rb_add_time_stamp