libs: npd: use g_list_prepend during lattice cutting