Remove usage of deprecated functions
The templated functions Deserialize and Serialize of the FairMQ Device are marked deprecated. These templates acctually only forward the call to the BoostSerializer and RootSerializer classes which are part of FairRoot. Call these classes directly to remove deprectaion warnings.