stop using caffe2/core/logging.h forwarding header in serialize lib (#98168)
No need to create a library for this useless header.
Differential Revision: [D44612668](https://our.internmc.facebook.com/intern/diff/D44612668/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/98168
Approved by: https://github.com/PaliC