sop: do not assume BAR 0 is the first memory BAR