[JIT] Remove use of "whitelist" in quantization/helper.cpp (#41459)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/41459
**Test Plan**
Continuous integration.
**Fixes**
This commit partially addresses #41443.
Test Plan: Imported from OSS
Reviewed By: ZolotukhinM
Differential Revision: D22544269
Pulled By: SplitInfinity
fbshipit-source-id: d4bb7c0c9c71e953677a34f0530b66e5119447d0