sheep: make invalid_vnode() type safe

Comparing sd_node and sd_vnode with node_id_cmp should be avoided.  It
is because node_id must be the first field of both structures but we
don't have any checks for it.

This also fixes a compile error in debug build.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
sheep: fixed compile warning

fixed compile warning:
migrate.c:125: warning: ‘ret’ may be used uninitialized in this function

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