text/charset.c: Use #ifdef instead of #if for HAVE_ macro.