Enable Mypy Checking in mkldnn_fusion.py and quantization.py (#108131)
**Summary**
As in issue: https://github.com/pytorch/pytorch/issues/105230, enable Mypy Checking in `torch/_inductor/fx_passes/mkldnn_fusion.py` and `torch/_inductor/fx_passes/quantization.py`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/108131
Approved by: https://github.com/Skylion007, https://github.com/eellison
ghstack dependencies: #108125