blockchain: Explicit hash in next stake diff calcs.
blockchain: Explicit hash in next stake diff calcs.

This modifies the CalcNextRequiredStakeDifficulty function to accept a
hash instead of using the current chain tip as part of an overall effort
to make the blockchain module more explicit and less reliant on the
current state.

decred/dcrd,decred/dcrd