Oil prices extended gains on Thursday after big increases in the previous session amid reports of action against ships by both Iran and the US and stalled peace talks.