[quant][eager][fix] Fix a typo in convert function in eager mode quantization (#59571)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/59571
Test Plan:
python test/test_quantization.py TestPostTrainingStatic.test_custom_module_class
Imported from OSS
Reviewed By: vkuzo
Differential Revision: D28938355
fbshipit-source-id: 566daeb07d616ae40e52754d3d4581f75f248f04