[JIT] internal build bug fix (#69061)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/69061
`warning` breaks this build [D32622152](https://www.internalfb.com/diff/D32622152)
Test Plan: Imported from OSS
Differential Revision: D32712448
Pulled By: makslevental
fbshipit-source-id: c7a70487bd0b95ac8b242522c36597d36072201f