Remove redundant code in cashaddr tests
Summary: As per title. It's doing the same computation twice.
Test Plan:
make check
Reviewers: dagurval, schancel, #bitcoin_abc
Reviewed By: schancel, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D746