Fix compile error (libns) and fix warning in setnoack.cc

The needless CLICK_DECLS in ip6.h causes a compile error while compiling libns. 
 An unused var in setnoack.cc is removed.