Fix another GCC/clang warning on OS X:

support/hex.c:42:80: error: implicit conversion loses integer precision: 'unsigned long' to 'uint32_t' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32]