lavfi/deshake: remove usage of link->cur_buf.