infra/recipes: Unshallow repo checkout few times as needed
infra/recipes: Unshallow repo checkout few times as needed

Turns out `git fetch --unshallow` once can be insufficient in some
cases to move current checkout form grafted state. Use a loop to
unshallow it until it's not shallow.

TEST=led get-build 8797542734442160913 | led edit-recipe-bundle | led launch
BUG=b:240692674

Change-Id: If2dbe08f0e3341aefc42afee9db8e8b39efab56a
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4026809
Reviewed-by: Daniel Verkamp <72bc170b46ec491f7bdd4359a1c0bfed274de40c@chromium.org>
Commit-Queue: Daniel Verkamp <72bc170b46ec491f7bdd4359a1c0bfed274de40c@chromium.org>
Auto-Submit: Zihan Chen <610a84a32f2086cdab4679002a95cbb619b0396d@google.com>

google/crosvm,google/crosvm,google/crosvm,google/crosvm