[reland] Remove unused code in windows_build_definition.py (#57107)
Summary:
I accidentally reverted https://github.com/pytorch/pytorch/issues/56230 in https://github.com/pytorch/pytorch/issues/56128 when resolving conflicts.. This PR relands https://github.com/pytorch/pytorch/issues/56230
CC mszhanyi
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57107
Reviewed By: astaff
Differential Revision: D28096003
Pulled By: seemethere
fbshipit-source-id: ea616d6b5cb0b04841d2f4cc30bd130ade4a364c