Replace HexBits with HexStr template specialization

Probably there's more to unify here.
Not that I care much about this debug output line but you're aware pblock->nBits is not the same as hashTarget?