Oil extends losses on pandemic fears and rise in U.S. gasoline stockpiles