New function, doing the same as g_convert but taking a GIConv argument.