lavfi/thumbnail: replace frame unref with free.