Revert "Update JetExceptionFilter behavior for top level closures"

This reverts commit 8f322d0a4eb43b7f881dbc2ef338adda7fe64857.
Revert "Update JetExceptionFilter to the latest API, fix warnings"

This reverts commit 9ddc5a9ab94f4b3212b33cd6409f5d37cfec12ad.