Add protocol commit hash code into syncProtoFromRepoAndBuild to sync
with kinetic-protocol repo.