main/unzip: disable LCHMOD

lchmod is not available on linux, but it's enabled by default. This
leads to warnings while unpacking when the zip contains symlinks:

> lchmod (file attributes) error: Not supported

Add `-DNO_LCHMOD` to disable this function to squelch the warning.

Fixes #11221
7 jobs for !4696 with unzip-fix-build in 1 minute and 24 seconds
detached
Status Job ID Name Coverage
  Lint
failed #57589
x86_64 docker-alpine allowed to fail
lint

00:00:29

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

00:00:35

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

00:00:41

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

00:00:51

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

00:00:47

failed #57591
x86 ci-build docker-alpine
build-x86

00:00:33

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

00:00:36

 
Name Stage Failure
failed
build-x86 Build
No job log
failed
lint Lint
No job log