Revert "Avoid trying to scan special static fields like thread static and context static. Fixes case #555954."

This reverts commit 3b9d3638f7e94abd6b3dd3b372325fd9125e851e.