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

To make it easier to include julia.h in c++, extern “C” is added when
the file is included in a c++ compilation unit.
Merge pull request #4944 from tknopp/exportC

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