Fixing bug in uint64 detection for hex notation.

After trying to convert the string with a base, it needs to be converted without
a base in case a number like 0xFFFF comes through. This was causing detection to
fail and the configure script to output bad constants which wouldn't build.