crush unittest: do not compute num_none when not used

Signed-off-by: Loic Dachary <loic@dachary.org>