failure compressing modular from pfm

Issue description

got failure trying to compress https://mega.nz/file/VQ4QnDKI#yvbE3MLpSaahRlhREmBmYxl-HvgO4NoH0vEIZh00FLw (too large for gitlab)

% cjxl -v -m 20210424_201012.pfm 20210424_201012.pfm.m.jxl
  J P E G   \/ |
            /\ |_   e n c o d e r    [v0.3.7 | SIMD supported: AVX2]

/home/anon/.cache/yay/libjpeg-xl-git/src/jpeg-xl/lib/extras/codec_pnm.cc:301: PNM: no color_space/icc_pathname given, assuming sRGB
Read 4016x3008 image, 68.0 MP/s
Encoding [Modular, lossless, squirrel], 6 threads.
/home/anon/.cache/yay/libjpeg-xl-git/src/jpeg-xl/lib/jxl/fields.cc:818: JXL_FAILURE: No feasible selector for 8927592
/home/anon/.cache/yay/libjpeg-xl-git/src/jpeg-xl/lib/jxl/fields.cc:818: JXL_FAILURE: No feasible selector for 9700587
/home/anon/.cache/yay/libjpeg-xl-git/src/jpeg-xl/lib/jxl/fields.cc:818: JXL_FAILURE: No feasible selector for 10143300
/home/anon/.cache/yay/libjpeg-xl-git/src/jpeg-xl/lib/jxl/fields.cc:563: JXL_RETURN_IF_ERROR code=1: ok_
/home/anon/.cache/yay/libjpeg-xl-git/src/jpeg-xl/lib/jxl/fields.cc:720: JXL_RETURN_IF_ERROR code=1: CanEncode(fields, &extension_bits, &total_bits)
/home/anon/.cache/yay/libjpeg-xl-git/src/jpeg-xl/lib/jxl/enc_modular.cc:1051: JXL_RETURN_IF_ERROR code=1: Bundle::Write(stream_headers[stream_id], writer, layer, aux_out)
/home/anon/.cache/yay/libjpeg-xl-git/src/jpeg-xl/lib/jxl/enc_frame.cc:1243: JXL_RETURN_IF_ERROR code=1: modular_frame_encoder->EncodeStream( get_output(0), aux_out, kLayerModularGlobal, ModularStreamId::Global())
/home/anon/.cache/yay/libjpeg-xl-git/src/jpeg-xl/lib/jxl/enc_file.cc:268: JXL_RETURN_IF_ERROR code=1: EncodeFrame(cparams, info, metadata.get(), io->frames[i], passes_enc_state, pool, &writer, aux_out)
Failed to compress to Modular.

Environment

Operating System: ArchLinux amd64

JPEG XL software version: ab7c5e9b

Compilation: https://aur.archlinux.org/packages/libjpeg-xl-git/ https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libjpeg-xl-git

CFLAGS="-march=native -mtune=native -O2 -pipe -fno-plt"
CXXFLAGS="$CFLAGS"

CPU / architecture / device: zen2

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information