Remove a useless iterator cast in txmempool.cpp
Summary: As per title. There is no change in behavior.
Test Plan:
ninja all check-all
Reviewers: #bitcoin_abc, sdulfari
Reviewed By: #bitcoin_abc, sdulfari
Differential Revision: https://reviews.bitcoinabc.org/D13439