Gold holds modest losses after consumer-confidence report