configure: Handle deprecated mallinfo()

We still use it if available or even deprecated.

Closes #40309

Signed-off-by: David Goulet <dgoulet@torproject.org>
8 jobs for ticket40309_044_01 in 18 minutes and 50 seconds (queued for 26 minutes and 43 seconds)
Status Job ID Name Coverage
  Test
passed #13223
debian-disable-dirauth

00:05:32

passed #13224
debian-disable-relay

00:06:12

passed #13220
debian-distcheck

00:07:03

passed #13221
debian-docs

00:02:55

failed #13219
debian-hardened

00:05:13

passed #13222
debian-integration

00:12:59

passed #13218
debian-minimal

00:05:13

passed #13225
debian-nss

00:05:50

 
Name Stage Failure
failed
debian-hardened Test
make[1]: Leaving directory '/builds/dgoulet/tor/build'
make[1]: Target 'all-am' not remade because of errors.
make: *** [Makefile:7160: all] Error 2
ERROR: command 'make -j4 -k all' has failed.
Uploading artifacts for failed job
Uploading artifacts...
artifacts/: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=13219 responseStatus=201 Created token=4vvUgpKV
ERROR: Job failed: exit code 1