downloader: Refactored select_suitable_mirror()
metalink: Use g_strcmp0() instead of strcmp() (RhBug: 1164891)