Don't scan C data structures during concurrent GC

This prevents walking C data structures concurrently, which might be in
the middle of free'ing data or other non thread safe operations.