Moved AddToBlockIndex out of CBlock.