Reuse build_torch_xla from pytorch/xla repo. (#59989)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/59989
Test Plan: Imported from OSS
Reviewed By: samestep
Differential Revision: D29138211
Pulled By: ailzhang
fbshipit-source-id: 349d307c510e7fad266822e320f0d6904fa00239