mirrorlist: Remove the unused add_host_to_cache function