add null check in rb_jit_notify_proc_freed
move dump_* to jit_core.c