Use __malloc_initialize_hook to install mcheck handler.