util/crossgcc: ensure curl writes downloaded bytes to a file

Commit 82a30a134c (util/crossgcc: Retry package downloads on failure) caused a regression for curl users.

Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Change-Id: I0d946b86baad3f6409a5042701808da307e5bcb7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47911
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index b55ecb2..5af3d5a 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -1066,7 +1066,7 @@
 	download_showing_percentage() {
 		url=$1
 		echo
-		curl --progress-bar --location --retry 3 "$url"
+		curl -O --progress-bar --location --retry 3 "$url"
 	}
 fi