validation: Pass in chainstate to UpdateTip
validation: Pass in chainstate to UpdateTip

Summary:
Note: I used this opportunity to reorder the function parameters and match the ones used by Core.

This is a backport of [[https://github.com/bitcoin/bitcoin/pull/21055 | core#21055]] [4/16]
https://github.com/bitcoin/bitcoin/pull/21055/commits/4bada76237d734c1de38d3bd58689caeefd5e8cb

Test Plan: `ninja all check-all`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D11209

Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc