Update the leaf state and counter nleafs in metablock_set_leaf() and metablock_unset_leaf() only if they really change the state. Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>