[PATCH 6.7 001/641] x86/lib: Fix overflow when counting digits