Add guarded extern "C" to allow linking with C++.

Add a guarded extern "C" directive to all headers referenced from koki.h
to make it easier to link with them from C++ code.