Add PhysicsTGraphPayload as a serializable class

Fixes the BOOSTIO IB, which was broken due to the merge of PR #2536