[JIT] Add torch.classes.load_library
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/32508
Test Plan: Imported from OSS
Differential Revision: D19525175
Pulled By: jamesr66a
fbshipit-source-id: b9f07113f551bdfb56d49d24d12989be2b8fc7e4