Remove unused code from the thread scanner.

The affected cases have been migrated to the copying collector where
they are required.  The non-moving collector does not need to visit
these roots.

Change-Id: I8b35d63cd8154b7c9f85320959559a718749976b
1 file changed