backport a patch to fix symbol-gc in chicken