use g++ 10 for torchrec_dlrm (#1622)
Summary:
Use the consistent version with https://github.com/pytorch/FBGEMM/blob/main/.github/scripts/setup_env.bash#L102
Pull Request resolved: https://github.com/pytorch/benchmark/pull/1622
Reviewed By: desertfire
Differential Revision: D45785587
Pulled By: xuzhao9
fbshipit-source-id: 2725b55171ffc5b8b8c04e2c6ec3116b11e0b114