update sccache wrapper to accommodate new sccache for macos build (#51357)
Summary:
Before I change sccache to point to the newer version in the S3 bucket, this PR makes sure the new sccache wrapper works.
This PR previously tested a newer version of sccache for macos build jobs. Last sccache used is over a year old. The results of using both are different, but the speed isn't too impacted, see below.
With newer sccache and alternate wrapper script from this PR: https://app.circleci.com/pipelines/github/pytorch/pytorch/271777/workflows/b5c6a75e-781a-4c0f-8c99-ff2cbe1e877c/jobs/10808567
With old sccache: https://app.circleci.com/pipelines/github/pytorch/pytorch/271875/workflows/962079ce-e146-482e-b493-c99004f8d89a/jobs/10805680
Pull Request resolved: https://github.com/pytorch/pytorch/pull/51357
Reviewed By: walterddr
Differential Revision: D26373266
Pulled By: janeyx99
fbshipit-source-id: ac5ccc512039379af6111b92a5ce37c5268dfdfe