fix dart2js crash in EXR decoder