Bootstrap libz when cross-building from non-FreeBSD
This is needed now libdwarf depends on libz.
Fixes: dbf05458e3bd ("libdwarf: Support consumption of compressed ELF sections")
MFC after: 1 week
(cherry picked from commit 8d5d329553b345c0887405db741750b0f728d902)