convert: initialize variable before usage.
Remove unused error codes
Fix indentation and remove excess variable
Convert domains to lowercase before libpsl checks
Fix checking of iconv_open return code.

Based on libiconv documentation, the iconv_open function returns
(iconv_t)(-1).

Signed-off-by: Tomas Hozza <thozza@redhat.com>