Add an null check in finally clauses

@JakeWharton 

This fixes https://github.com/square/wire/issues/82.