Evm node: take a lock on context when committing
What
This MR makes the EVM node take a lock on the irmin context when committing.
Fixes #7405 (closed).
Why
This is necessary to implement snapshot export while the EVM node is running.
How
Depends on !14182 (merged).