Define iconv_nkf_inprev as a macro to update it on ungetc()
iconv_nkf_ungetc(): c is needless variable
Add test cases