debug shape guards (#95848)
Adds logging when shape guards are added and when symbols are specialized to constants.
Differential Revision: [D43719743](https://our.internmc.facebook.com/intern/diff/D43719743/)
Differential Revision: [D43719743](https://our.internmc.facebook.com/intern/diff/D43719743)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95848
Approved by: https://github.com/ezyang