Add G_BEGIN_DECLS and G_END_DECLS to spawn.h