licenses: convert license tags to SPDX
lib/clib: move DetWPLib from CLib to Lib Doesn't have any C dependencies.