Only add gerrit remote when $REPO_RW is "yes"

No need to add it for read-only clones.

Change-Id: I36258ae3b6013093324ae4dc9a3facc0f76d4f48