[avalanche] Add to the recently finalized items filter at callsite
Summary: With pre-consensus, we want to mark final all the txs that are parents of the one being finalized. This implies that there is more logic before adding an item to the recently finalized filter, and to achieve that we move the responsability of filling the filter to the callsite.
Test Plan:
ninja all check-all
Reviewers: #bitcoin_abc, roqqit
Reviewed By: #bitcoin_abc, roqqit
Subscribers: roqqit
Differential Revision: https://reviews.bitcoinabc.org/D17829