Log PT2 compile to Scuba (#98790)
Summary:
Modeled off of https://www.internalfb.com/code/fbsource/[5f363eaeab1b5d620b9df83ba0de65adfd96771b]/fbcode/caffe2/torch/fb/trainer/profilers/gpu_mem_signpost.py?lines=106-115
I didn't use the Scuba integration in torch/_inductor/fb/logging.py to avoid
having to make a new Scuba table; probably should do this.
Test Plan:
```
buck2 test //caffe2/test:test_dynamo
```
Differential Revision: D44850903
Pull Request resolved: https://github.com/pytorch/pytorch/pull/98790
Approved by: https://github.com/desertfire, https://github.com/bertmaher