iconv: Fix the UTF-8 decoder when a NUL byte is encountered

https://bugzilla.gnome.org/show_bug.cgi?id=730220