fix gc_register_my_thread et al fallback impls