framework/target: fix TargetInfo deserialization
framework/target: fix TargetInfo deserialization

Fix TargetInfo.from_pod(). As part of creating the POD, some of devlib's
classes such as Cpuinfo, get serialized. Since they are from devlib,
they do not implement WA's serialization interface, and are instead
serialized by extracting their internal structures. They are then not
deserialized properly, since their __init__'s expect text rather than
parsed structures.

This implements deserialization functions for these classes which
initialize them properly from TargetInfo POD.

lisatn/workload-automation,setrofim/workload-automation,ARM-software/workload-automation,ARM-software/workload-automation,setrofim/workload-automation,lisatn/workload-automation,ARM-software/workload-automation,setrofim/workload-automation,ARM-software/workload-automation,lisatn/workload-automation,setrofim/workload-automation,lisatn/workload-automation