local: fix return type of lnode_cmp

The local driver cannot pass the functional tests without this.

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