avcodec/exr: add fast path for case when powf() isn't needed