Fix CMake checks for iconv

- This commit does not enable iconv usage, it is still off by default,
  but we should now be able to turn it on by setting USE_ICONV
- HAVE_ICONV_H and HAVE_ICON hold the expected checks