Oil prices extend gains after draw in U.S. stocks