This replaces CDataStream with DataStream everywhere where it doesn't cause a compilation failure (i.e no downstream code is calling `ss.Get/SetVersion` or `ss.Get/SetType`).
This concludes backport of core#25296
https://github.com/bitcoin/bitcoin/pull/25296/commits/fa29e73cdab82f98682821322cda89b1084ba887
https://github.com/bitcoin/bitcoin/pull/25296/commits/fa035fe2d61d0c98d1bfd0153a0c3b5eb9d40de4
Depends on D18947