ns for fx: move more weight matching logic to weight_utils.py (#55288)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/55288
No logic change, just moving util-like code to the utils file.
Test Plan:
```
python test/test_quantization.py TestFXNumericSuiteCoreAPIs
```
Imported from OSS
Reviewed By: hx89
Differential Revision: D27575423
fbshipit-source-id: cd5188a0940bb664be7d0275faa7df8ea18401a8