[ethereum/go-ethereum] core: add support for StateDB can dump dirty data. (#16564)

Thank you for your contribution! Your commits seem to not adhere to the repository coding standards

* Commit: 3dbb88e8e287ace0977b7d478c90aa56200a91c1
* Commit subjects should be kept under 100 characters

Please check the [contribution guidelines](https://github.com/ethereum/go-ethereum#contribution) for more details.