Revert "git: Apply sub-repo permissions to git.ArchiveReader (#29919)"
Created by: ryanslade
This reverts commit 78bac603b1202f897dfc9aef45263728fdba4354.
We need to revert this as we also need to specifically check if sub-repo permissions are enabled for the repo, not just in general.
Part of https://github.com/sourcegraph/sourcegraph/issues/27332