EZP-21913: Fixed globals in bin/php/ezconvertdbcharset.php