Fix bug in ndn_memcmp: need to return the result of memcmp.