Add extern "C" to julia.h when used in c++

To make it easier to include julia.h in c++, extern “C” should be added when
the file is included in a c++ compilation unit.