Revert "cleanup caffe2 cc_proto_library (#97325)"
This reverts commit 603a32c96458af870fd1653cdf57453bc7d9905d.
Reverted https://github.com/pytorch/pytorch/pull/97325 on behalf of https://github.com/malfet due to Reverting as PR dependent on https://github.com/pytorch/pytorch/pull/97322 that has been reverted