[scudo] Remove dead code and other small cleanups. (#210454)

Some dead code from the error info refactor is still around, so delete
that. Also cleanup spelling and spacing.

Modified the tests to use TestOnly functions so it's clear what is
actually used.

GitOrigin-RevId: f010423d3dfac774c6157686b6f14fb8d357c715
6 files changed