Enables `where` to have cpu scalar args (#87022)
This is for decompositions only, no attempt made to have good performance for this case.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/87022
Approved by: https://github.com/ezyang, https://github.com/eellison, https://github.com/mruberry
Author
Natalia Gimelshein