adding support for index_select on quantized tensors (#61406)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61406
Only really needed to fix a few select functions so that they could work
for quantized tensors. Primarily creation and resizing of tensors
required a branch for quantized tensors. This doesn't work for
per_channel tensors
Test Plan:
```python test/test_quantization.py TestQuantizedTensor.test_qtensor_index_select_cuda```
```python test/test_quantization.py TestQuantizedTensor.test_qteensor_index_select_cpu```
Imported from OSS
Reviewed By: jerryzh168
Differential Revision: D29654446
fbshipit-source-id: 8fde9b2dd2c3e380cc330bbad71d6c4d2aeec0ab