Handle rename failure in DumpMempool(...) by using RenameOver(...) return value
Summary:
This is a backport of core#20519
Depends on D10889
Test Plan:
ninja all check-all
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10891