This must return 0 when p_util_hexdigit[c] < 0, otherwise the functionality is changed.
(the hexdigit in util.cpp has -1 for non-hex characters whereas hexdigit in uint256.h and bignum.h has zeros)