exr: support more line orders

Signed-off-by: Paul B Mahol <onemda@gmail.com>