Oil loses gains with OPEC to raise crude output