Clean up utils.hub using the latest from hf_hub
# What does this PR do?

This PR uses the newly released version of `hugginface_hub` to clean up a few things introduced in #18438 (points 1 and 2 in the description of this PR). For point 3 (load from cache) there is currently a difference between Transformers' `try_to_load_from_cache` and the huggingface_hub's one, so this will a follow-up PR in `huggingface_hub` (and then to wait for the next release).
_The documentation is not available anymore as the PR was closed or merged._