Oil futures posted a gain on Wednesday, giving up early losses after official U.S. data revealed weekly declines in petroleum ...