mng: prevent inclusion of libjpeg


libmng includes jpeglib.h, but the pkg-config file does not provide the
libjpeg include path. defining MNG_NO_INCLUDE_JNG seems to prevent the
the inclusion of jpeglib.h, but doesn't seem to affect the mng
functionality we're using.

Pick-to: 6.8
Change-Id: I1e9902c1f1b6b725ebbc9380f33565dac1364442
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commit14f09899e89da1c6da1e14443785ff1970e5fee0
parent80d051805497f5cb08e34de197c204ade5a242f0
authorTim Blechmann <tim@klingt.org>
committerTim Blechmann <tim@klingt.org>
commit timeTue, 6 Aug 2024 19:34:39 +0800