main/nginx: fix build with gcc-10

Taken from Debian
7 jobs for !12698 with nginx in 11 minutes and 55 seconds (queued for 1 second)
detached
Status Job ID Name Coverage
  Lint
failed #211861
x86_64 docker-alpine allowed to fail
lint

00:00:22

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

00:10:02

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

00:11:32

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

00:10:40

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

00:08:15

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

00:08:21

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

00:08:21

 
Name Stage Failure
failed
lint Lint
No job log