Oil prices extend gains after US inventory drop