[pytorch][ci] install nightly instead of stable libtorch for mobile CIs (#42220)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/42220
Mobile custom build CI jobs need desktop version libtorch to prepare
models and dump root ops.
Ideally we should use the libtorch built on the PR so that backward
incompatible changes won't break this script - but it will significantly
slow down mobile CI jobs.
This PR changed it to install nightly instead of stable so that we have
an option to temporarily skip mobile CI jobs on BC-breaking PRs until
they are in nightly.
Test Plan: Imported from OSS
Reviewed By: seemethere
Differential Revision: D22810484
Pulled By: ljk53
fbshipit-source-id: eb5f7b762a969d1cfeeac2648816be546bd291b6