Brazil's oil production reached a record high in June, as rising supplies from producers outside the Middle East helped cushion disruptions from the fallout of the war in Iran.