collie/farm: fixed wrong way of calculating nr_vmstate_obejct

Without this patch, tests/functional/030 will not pass.

Signed-off-by: Kai Zhang <kyle@zelin.io>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>