Gold futures end higher on Friday to score a weekly gain, finding support from a decline in the U.S. dollar over the course of the week, as traders weigh data showing a rise in U.S. inflation, but no change to consumer spending.