[quant] skip tests without fbgemm support (#47800)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/47800
Fixes #47748
Test Plan:
python test/test_quantization.py
Imported from OSS
Reviewed By: vkuzo
Differential Revision: D24904885
fbshipit-source-id: 76d27659e73c7f60b3fcc25606657ee9305117be