[PyTorch] Remove duplicate jit core sources filelists (#38430)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/38430
Add `jit_core_[sources|headers]` to `build_variables.bzl`, use them from BUILD.bazel as wel as from internal build systems
Test Plan: CI
Reviewed By: suo
Differential Revision: D21555649
fbshipit-source-id: e78572465f36560806d646f147b2ef5a53ba1efe