Crude oil extends gains after US inventory drop