libdfp: Added definitions for the number of digits in strings.

This patch defines the lenght of strings with the digits of a
_Decimal, and use this on the code. This fixes a bug in numdigits
function.