Define cfg(rtopt) when optimizing. Turn off runtime sanity checks

Naturally, and sadly, turning off sanity checks in the runtime is
a huge performance win. (XXX numbers pending)

This also converts various TLS code paths to do unsafe but more
efficient things when sanity is off.

Sanity checks are turned *on* when not optimizing, or when cfg
includes `rtdebug` or `rtassert`.