lavfi: add frame counter into AVFilterLink and use it in filters.
lavfi: timeline support.

Flag added in a few simple filters. A bunch of other filters can likely
use the feature as well.
lavfi/overlay: support timeline through the new system.