Danilo Gallinari scored 28 points and the Denver Nuggets withstood a 38-point performance by Stephen Curry to hand the Golden State Warriors their third loss of the season, 112-110 on Wednesday night.