Fixing some issues with the decimal parser/formatter (dotnet/coreclr#22070)