Restore tests binary_macos_libtorch_2_7_cpu_build and binary_macos_li… (#33291)
Summary:
Fix https://github.com/pytorch/pytorch/issues/33209
Pull Request resolved: https://github.com/pytorch/pytorch/pull/33291
Differential Revision: D19878241
Pulled By: zhangguanheng66
fbshipit-source-id: 07bce43e466708dacd37b87ba3419435c6a7cde5