libbitcoinconsensus: don't require any global constructors

These static objects are only used in once place, so declare them there instead.
Merge pull request #5361

3223179 libbitcoinconsensus: don't require any global constructors (Cory Fields)