main/libc-dev: split bsd compatibility headers to separate subpkg

also refresh sys/queue.h and add sys/tree.h