browse/release: Add link to directory for revision target type
When browsing a release targetting a revision, also add a link to associated directory view.
This is somehow related to #2342 (closed) and #2330 (closed).
Migrated from D2935 (view on Phabricator)