Oil stabilizes after US inventory data