Extend DynamcLibrary constructor to support alternative library name (#52183)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52183
This allows one to load library that can exist on the system under different names.
Currently, this functionality is Linux only, as on Windows shared libraries are not renamed by `auditwheel`
Test Plan: Imported from OSS
Reviewed By: walterddr
Differential Revision: D26417405
Pulled By: malfet
fbshipit-source-id: d327e2565b26cf5b7214e7978862f56e02cad7c6