avcodec/exr: skip bottom clearing loop when its outside the image