Clean up compile reason logic, report only graph break compiles (#98574)
context: https://fb.workplace.com/groups/1075192433118967/posts/1222935648344644/?comment_id=1223002365004639&reply_comment_id=1223501008288108
Pull Request resolved: https://github.com/pytorch/pytorch/pull/98574
Approved by: https://github.com/Chillee, https://github.com/xw285cornell