[MonitoredBarrier] Fix some logging (#65771)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/65771
Fixes some logging around monitored_barrier to make it cleaner.
ghstack-source-id: 140555204
Test Plan: CI
Reviewed By: zhaojuanmao, wayi1
Differential Revision: D31222881
fbshipit-source-id: 77d6f072ce98a9b31192e0d48ea0f8cbd8f216fe