BUFR: Clean-up exception handling.

Found by Coverity.