Fix prims lint broken on trunk due to land race (#77271)
Fixes upstream lint errors https://hud.pytorch.org/minihud?name_filter=Lint%20/%20lintrunner
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77271
Approved by: https://github.com/seemethere, https://github.com/malfet