[quant][graphmode] Add warning for prim::Loop (#40195)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/40195
Test Plan: Imported from OSS
Differential Revision: D22106543
fbshipit-source-id: c0958cd2f977e8bdbbb1ac1befe51326b4619f94