Add function `git_repository_open_from_worktree`, which allows to open a `git_worktree` as repository.