coredump: turn mm->core_startup_done into the pointer to struct core_state