Better use `unwind-protect' to deactivate advice in case of error.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>