[PATCH 6.1 001/417] x86/lib: Fix overflow when counting digits