Use uint32_t in script flag test utility
Summary: As per title. It uses uint32_t elsewhere.
Test Plan:
make check
Reviewers: freetrader, CCulianu, #bitcoin_abc
Reviewed By: CCulianu, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D532