main/curl: backport fix for -w time_total output

This was fixed in 7.75.0, but broken in 7.74.0, so backport that fix.
7 jobs for !18880 with 3.13-stable in 12 minutes and 1 second (queued for 1 second)
detached
Status Job ID Name Coverage
  Lint
passed #335185
docker-alpine x86_64
lint

00:00:18

 
  Build
passed #335190
docker-alpine ci-build aarch64
build-aarch64

00:10:50

passed #335191
docker-alpine ci-build armv7
build-armv7

00:11:22

passed #335189
docker-alpine ci-build ppc64le
build-ppc64le

00:11:43

passed #335188
docker-alpine ci-build s390x
build-s390x

00:09:53

passed #335187
docker-alpine ci-build x86
build-x86

00:09:20

passed #335186
docker-alpine ci-build x86_64
build-x86_64

00:08:46