Attempted fix of bug #976: Segfault in yaz_iconv. The yaz_iconv function