Fix errors running on Mac OS

The build_and_run_benchmark.sh script uses the getopt command with
options not supported on Mac OS.

Test: build_and_run_benchmark -h
Change-Id: I32867949e09a8cde3f05b75e3c8f6398ae32d85b
1 file changed