OPEC's oil output rose in June, driven by increases in Libya and Nigeria and as Saudi Arabia said it pumped above its quota.