Use randbits instead of ad-hoc emulation in prevector tests
Summary:
As per title.
Depends on D887
Test Plan:
make check
Reviewers: schancel, #bitcoin_abc
Reviewed By: schancel, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D889