Gold futures end lower after 5-session climb