Add __mriPlatform_EnteringDebuggerHook() and __mriPlatform_LeavingDebuggerHook().