cmCTestRunTest: Avoid float/int conversions in number width logic
Use of std::log10
added by !2240 (merged) broke our number width computation on some platforms where
static_cast<int>(std::log10(static_cast<size_t>(10)))
somehow produces 0
instead of 1
. Re-implement the logic to avoid floating-point computations.