fix windows build (#32762)
Summary:
remove windows visibility macro
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32762
Differential Revision: D19616367
Pulled By: eellison
fbshipit-source-id: d824162fe92bff4cb2b1a170312cd14b6d7bd99d