ClosureUtils: dynamically export protected/internal methods in release builds instead of using export annotation in emitter

This works the same as public methods, as already implemented previous commits. Just expanding it to more symbols.
2 files changed