BUILD: pools: fix backport of no-memory-trimming on non-linux OS

Commit 4bcff9ba4 in 2.5 ("MINOR: pools: add a new global option
"no-memory-trimming"") was missing some extra ifdefs for the cases
where the allocator doesn't have malloc_trim() and fails to build
on windows.

This must be backported to 2.4.

(cherry picked from commit a11c3b83e3a3689700b12551650d8f5a681db5fb)
Signed-off-by: Willy Tarreau <w@1wt.eu>
1 file changed