Fix ProcessCount and ThreadCount when greater than 1.0 so that it uses ceil (previously it was sometimes ceil+1).