[PATCH] graphs: Fix rendering CPU graphs after number of cores decreased