add memcmp(3) as default compare function, except in llist_sort