Drop dead code

In `git_odb_write()`, libgit2 already calls `git_odb_exists()`
before invoking the backend write() method.
Drop dead code

`FinalizeWrite()` is only invoked if the object pointed at by the oid
isn't found in any backend.
Make OdbBackend expose valid backend return codes