Refactor type conversion functions out of `//torch_xla/csrc:tensor` (#5777)
* Move pure dtype conversion functions to `dtype.cpp`
* remove comments
* better names
* fix includes
* formatting
* consolidate
* fix test build
* more explicit names
* remove extra line