[corlib] Make invariant NumberFormatter thread static too as it has internal static state. Fixes #18599