[inductor] get_system shouldn't error if CUDA is not installed (#110282)
Using inductor on a CPU-only device should be OK.
Differential Revision: [D49749912](https://our.internmc.facebook.com/intern/diff/D49749912/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/110282
Approved by: https://github.com/desertfire