Fix serialization implementation to support 32 and 64 platform.
Fix serialization implementation to support 32 and 64 platform.

Change-Id: I3bf8c4bf1c1fa369ea9b0ba1aa20edfe9228f0d9

Samsung/ckm,Samsung/ckm,Samsung/ckm