Use COutPoint's accessor in the txdb code
Summary:
As per title.
Depends on D1388
Test Plan:
make check
Reviewers: #bitcoin_abc, matiu
Reviewed By: #bitcoin_abc, matiu
Subscribers: teamcity
Differential Revision: https://reviews.bitcoinabc.org/D1397