avfilter/f_loop: make sure duration of frame is never zero