[ASan] Use 'extern "C"' rather than 'extern' for global variables exposed in the interface