Skip unit tests relying on MKL if compiled without it (#39672)
Summary:
Also skip TestTorchDeviceTypeCPU.test_float_to_int_conversion_finite_cpu_uint8 on PowerPC
See example of tests failures on https://powerci.osuosl.org/job/pytorch-master-nightly-py3-linux-ppc64le/1099/console for
Pull Request resolved: https://github.com/pytorch/pytorch/pull/39672
Differential Revision: D21943588
Pulled By: malfet
fbshipit-source-id: 3da0d33597db5aa8728e682b8e27dd5f7f6765f4