Curry nails NBA 3-point record