[Pytorch Edge] Caffe2 Serialize files into indepedent target. Clean up function.cpp deps
Summary:
It seemed strange to me that min_runtime_lib was dependent on the serialization headers but didnt have a dependency on their .cc. This puts them into their own target that contains both and then updates deps.
(Note: this ignores all push blocking failures!)
Test Plan: ci
Reviewed By: iseeyuan
Differential Revision: D34159900
fbshipit-source-id: 57102414be2439f5f4e3ed8ccd2b0c375b9de9b2
(cherry picked from commit c9ff2d2d9df72ad6a990986340b7934c8929861b)