hdr2exr: Fix a compilation error.