[Static Runtime] Add OSS build for static runtime benchmarks (#43881)
Summary:
Adds CMake option. Build with:
```
BUILD_STATIC_RUNTIME_BENCHMARK=ON python setup.py install
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43881
Reviewed By: hlu1
Differential Revision: D23430708
Pulled By: bwasti
fbshipit-source-id: a39bf54e8d4d044a4a3e4273a5b9a887daa033ec