[Conda][Kineto] efine weak `acc_get_device_type` if kineto is used (#51818)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/51818
Reviewed By: ilia-cher
Differential Revision: D26291188
Pulled By: malfet
fbshipit-source-id: 68797e02fe4dd54d8030e67aaf28046a4fae0770