[sgen] Fix new bridge implementation.
[sgen] Make optimizations in new bridge turn-offable at compile-time.

This will help find bugs.