Make CBlockIndex a subclass of CBlockHeader