enable jit profiling tests on macos (#41550)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/41550
Reviewed By: SplitInfinity
Differential Revision: D22579593
Pulled By: Krovatkin
fbshipit-source-id: 3e67bcf418ef266d5416b7fac413e94b1ac1ec7e