* Fix segfault on encoding from utf-8 to iso-8859-1

Pull request for issue https://github.com/erylee/erlang-iconv/issues/2