Fixed SDL_iconv_string() truncation when handling SDL_ICONV_E2BIG (cherry picked from commit c369b900199f905c51edb372bd7780f67a544a8c)