[pytorch] Let jit.unused ignore unsupported method signature (#39336)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/39336
Test Plan: next diff
Differential Revision: D21814656
fbshipit-source-id: 0bc6bcf668715473553f200a6ffea981abef09a6