Add CoreMonad.reinitializeGlobals so plugins can work around linker issues