[PyTorch][deploy] Work around missing libdl (#74705)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74705
As the comment says, libdl might not be separate because it may be subsumed into libc.
Test Plan:
1) existing tests
2) this is being sent out on top of platform010 migration for caffe2
Reviewed By: d4l3k, r-barnes
Differential Revision: D35117159
fbshipit-source-id: c4a6de7c3412db695509bd25d529658cdf785e3d
(cherry picked from commit 563919d4c5fd7a9cbdc03d24b1afc5b6a2c09cc8)