### ImageMagick version

7.1.1.23

### Operating system

Other (enter below)

### Operating system, version and so on

NetBSD/amd64

### Description

I scanned a couple pages as grayscale. macOS Preview, geeqie 2.1 and gimp 2.99.16 display the picture fine, but ImageMagick (using the pkgsrc version) does not accept it.
```
# file 001.png 
001.png: PNG image data, 2606 x 4184, 1-bit grayscale, non-interlaced
# identify 001.png                                      
identify: unable to read image data `001.png' @ error/constitute.c/ReadImage/991.
# convert 001.png 001.jpg
convert: unable to read image data `001.png' @ error/constitute.c/ReadImage/991.
convert: no images defined `001.jpg' @ error/convert.c/ConvertImageCommand/3362.
```

### Steps to Reproduce

See above.

### Images

![001](https://github.com/ImageMagick/ImageMagick/assets/2221844/add7b84f-84b9-4acd-b9ea-7e4ed187ce1c)

Error reading 1-bit grayscale png
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Error reading 1-bit grayscale png
Issue date:

--- start body ---
### ImageMagick version

7.1.1.23

### Operating system

Other (enter below)

### Operating system, version and so on

NetBSD/amd64

### Description

I scanned a couple pages as grayscale. macOS Preview, geeqie 2.1 and gimp 2.99.16 display the picture fine, but ImageMagick (using the pkgsrc version) does not accept it.
```
# file 001.png 
001.png: PNG image data, 2606 x 4184, 1-bit grayscale, non-interlaced
# identify 001.png                                      
identify: unable to read image data `001.png' @ error/constitute.c/ReadImage/991.
# convert 001.png 001.jpg
convert: unable to read image data `001.png' @ error/constitute.c/ReadImage/991.
convert: no images defined `001.jpg' @ error/convert.c/ConvertImageCommand/3362.
```

### Steps to Reproduce

See above.

### Images

![001](https://github.com/ImageMagick/ImageMagick/assets/2221844/add7b84f-84b9-4acd-b9ea-7e4ed187ce1c)

--- end body ---
