Fix segfault (checking for prev block of genesis).

Please verify this is still doing what it should ...

        if (block.GetHash() != Params().HashGenesisBlock()) {}