Gold edged lower in the last trading day of 2025, but remained on track for its best annual performance since 1979 as a banner year for precious metals draws to a close.