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