[PyTorch][Static Runtime] out variant for where.self (#73438)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73438
Add out variant for `where.self`; requires PyTorch core changes as no out variant existed previously
ghstack-source-id: 151505601
Test Plan:
* Existing `where` tests in static runtime pass
* CI for core `where` tests
Reviewed By: hlu1
Differential Revision: D34469785
fbshipit-source-id: 8a4ebbf38b2364534fbf43812bfcfdf69ea174b3
(cherry picked from commit d3faf61f408a385d67b5b821dfaf084a8e713f30)