[Bug 1200131] s390-tools build fails with gcc12