[PATCH 01/25] Remove __finally/__leave code

Remove all __finally/__leave code, changed to a more portable control flow.
Just three functions in WNT_*.cxx were too complex to change, so goto's were used there.

Contributed by: QbProg