Factor out common code in gl_FUNC_STRTOD.