importpkg: move library-like parts to dedup.debpkg