move substitute lib to open source (#79093)
Summary: as title
Test Plan: buck build //xplat/caffe2:generated_aten_config_header
Reviewed By: kit1980
Differential Revision: D36989348
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79093
Approved by: https://github.com/malfet