It's a difficult question to answer because it depends on the real degree of 'somewhat' and its location. If the driving flank of the thread's eaten away over a turn or more, and it's in the area where the tollpost or toolholder would be around 1 to 15 cm from the chuck face, then it's serious and likely to gall or score the corresponding halfnut flanks.
What condition are the halfnuts in already, anyway? What assurance do you have that other significant components aren't affected?
If it really is only surface corrosion and really does affect only the leadscrew it's unlikely to cause a serious problem, even if you do use it to cut threads – but it's hard to see how you're gonna know without close examination.