JBTM-1609 Make sure the SerializableXAResourceDeserializer(s) are setup in the XAResourceRecord so that they can be used during restoring state. Also fix the issue where the same record could potentially to attempted to deserialize more than once
Merge pull request #255 from jaikiran/4.17

[4.17 branch] Fix for JBTM-1609