Wall Street muted near the end of a banner year; gold rebounds