magit-show-commit: set default-directory to top of repo

Otherwise when `magit-show-commit' is called while the
`default-directory' is not the toplevel of the repository
later visiting items from the commit buffer would fail.