[pt][quant] Support either min or max in qclamp (#45937)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45937
torch.clamp can now be used with quantized tensors with either min argument or max argument only
Fixes https://github.com/pytorch/pytorch/issues/45928
ghstack-source-id: 114085914
Test Plan:
buck test mode/dev caffe2/test:quantization -- 'test_qclamp' --print-passing-details
```
Started reporting to test run: https://our.intern.facebook.com/intern/testinfra/testrun/4222124686876909
✓ ListingSuccess: caffe2/test:quantization - main (7.602)
✓ Pass: caffe2/test:quantization - test_qclamp (quantization.test_quantized_op.TestQuantizedOps) (7.233)
Summary
Pass: 1
ListingSuccess: 1
Finished test run: https://our.intern.facebook.com/intern/testinfra/testrun/4222124686876909
```
Reviewed By: jerryzh168
Differential Revision: D24153431
fbshipit-source-id: 9735635a48bcdd88d1dd6dc2f18b59311d45ad90