Replaced whitelist reference with allowlist (#42071)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/41741
Replaced whitelist reference with allowlist.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/42071
Reviewed By: pbelevich
Differential Revision: D22795176
Pulled By: SplitInfinity
fbshipit-source-id: bcf1b8afe516b9684ce0298bc257ef81152ba20c