Remove an invalid include path from CPPFLAGS
Add CWARNFLAGS+= -Wno-unused for clang.
gpio(4) and gpiosim(4) can now be built and used as modules. While here,make some functions static.