Fixed macro for computing number digits/characters needed to print a number. This is for sprintf buffer allocations when putting line numbers in error message strings.