Do not link BLAS into torch_cuda/torch_hip (#35724)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35724
When statically linking BLAS, this results in a second useless copy of
MKL in libtorch_cuda.so
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Differential Revision: D20758165
Pulled By: ezyang
fbshipit-source-id: 5a82a23c053f440b659f2ac2aaaf3c9d5ec69971