[LTC] Make some LazyTensor interfaces virtual (#90686)
Summary:
Make some LazyTensor interfaces virtual such that XLA can adopt. It's related to https://github.com/pytorch/xla/pull/4317.
Test Plan:
CI.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/90686
Approved by: https://github.com/antoniojkim, https://github.com/JackCaoG