Fix openexr build failure

Running testOptimizedInterleavePatterns
Testing SSE optimisation with different interleave patterns (large images) ...     
 0, 0: RGBHalf read as RGBHalf...                            OK OPTIMISED          
 0, 1: RGBHalf read as RGBAHalf...                           OK OPTIMISED          
 0, 2: RGBHalf read as ABGRHalf...                           OK                    
 0, 3: RGBHalf read as RGBFloat...                                                 
                                                                                                                  
error reading back channel B pixel 21,-76 got -nan expected -nan                   
OpenEXRTest: /builddir/build/BUILD/openexr-3.1.1/src/test/OpenEXRTest/testOptimizedInterleavePatterns.cpp:233: boo
l {anonymous}::compare(const Imf_3_1::FrameBuffer&, const Imf_3_1::FrameBuffer&, const Imath_3_1::Box2i&, bool): A
ssertion `writtenHalf.bits()==readHalf.bits()' failed.                                                            

Also impacts ELN: https://bugzilla.redhat.com/show_bug.cgi?id=2212579