CBlockIndex()::SetNull() method to avoid code repetition

Trivial refactor to remove some repeated lines in CBlockIndex constructors.