Minor bug fixes in string->double conversion
Fixes some issues in the string->double-conversion part, when Hexadecimal floats are allowed.
Specifically, 0x
(and invalid literal) would access out-of-bounds before the fix, and hexadecimal literals with exponents that exceeded the integer range could overflow the exponent counter and thus yield a wrong result (and not just infinity or 0).