lavfi/delogo: don't recompute the same difference again and again