[PyTorch Edge] Remove legacy and kineto profilers from mobile build (#58730)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/58730
The sources for the profilers are not needed in the mobile build, and unnecessarily add weight to the build. Remove them from the lite-interpreter build.
ghstack-source-id: 130684568
Test Plan: Build + BSB
Reviewed By: kimishpatel, raziel
Differential Revision: D28563725
fbshipit-source-id: 9d6f76176c2d2bbc25703281af1a076b1f2b4f19