Fix for Null reference exception in Int.ToString()

This is the fix for the issue "Null reference exception occurs after the call to Int.ToString() from multiple threads" https://bugzilla.xamarin.com/show_bug.cgi?id=23242