### Is your feature request related to a problem? Please describe.

The current version of ImageMagick is failed to build the fuzzers on base-builder image of oss-fuzz
(Magick++/fuzz/build_dependencies.sh)

the reason is 
- xz now requires --no-doxgen, otherwise it halts its build because base-builder has no doxygen in default
- libheif now requires -DBUILD_TESTING=off, otherwise it will lead to undefined reference crashes with AddressSanitizer build
- libjxl must be at most v0.7.0, because some of its interfaces in  jxl/decode.h are now incompatible with ImageMagick


### Describe the solution you'd like


Thus, it seems there is a need to pin the dependencies for Imagemagick. 
while I'm creating the PR for that, I wonder why anyone didn't try this.


### Describe alternatives you've considered
we can just add the options for enabling or disabling some features with latest version, except the case of libjxl

### Additional context

_No response_
Why don't ImageMagick pin the versions of dependencies? 
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Why don't ImageMagick pin the versions of dependencies? 
Issue date:

--- start body ---
### Is your feature request related to a problem? Please describe.

The current version of ImageMagick is failed to build the fuzzers on base-builder image of oss-fuzz
(Magick++/fuzz/build_dependencies.sh)

the reason is 
- xz now requires --no-doxgen, otherwise it halts its build because base-builder has no doxygen in default
- libheif now requires -DBUILD_TESTING=off, otherwise it will lead to undefined reference crashes with AddressSanitizer build
- libjxl must be at most v0.7.0, because some of its interfaces in  jxl/decode.h are now incompatible with ImageMagick


### Describe the solution you'd like


Thus, it seems there is a need to pin the dependencies for Imagemagick. 
while I'm creating the PR for that, I wonder why anyone didn't try this.


### Describe alternatives you've considered
we can just add the options for enabling or disabling some features with latest version, except the case of libjxl

### Additional context

_No response_
--- end body ---
