blockchain: Set pruning interval to tgt block time.
blockchain: Set pruning interval to tgt block time.

This modifies the pruning logic to set the pruning interval to the
target block time for the given chain parameters instead of hard coding
a constant with the mainnet value.

decred/dcrd,decred/dcrd