Fix iconv() compiler warnings on platforms that require const parameter.