chaingen: Update vote commitments on hdr updates.
chaingen: Update vote commitments on hdr updates.

This modifies the NextBlock function to account for changes made to the
block height or previous block hash in munge functions and update the
commitments in all votes accordingly.

decred/dcrd,jrick/dcrd,decred/dcrd,jrick/dcrd