Remove patches to write-protect TrackStateOnSurface memory. The underlying problem has been solved, and these changes affect performance.
This reverts commit 14dc8d0e. This reverts commit 816ffe41.