Gold futures end higher on Wednesday, finding support from weakness in the U.S. dollar and a retreat in Treasury yields, but prices remain below the key $1,800 mark for a second straight session.