[JIT] Fix clang-tidy warnings for jit/frontend (#47982)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47982
Test Plan: Imported from OSS
Reviewed By: ZolotukhinM
Differential Revision: D25258640
Pulled By: SplitInfinity
fbshipit-source-id: e2cf27130311904aa5b18e3232349604d01701a0