Fix protoc binary download for macos
What does this MR do?
Fix protoc binary download, otherwise x86 binary would be downloaded on M chips
Why was this MR needed?
What's the best way to test this MR?
Run these on M chip macos
rm -rf .tmp
make generated_files