PFW: Wrong file export in hexadecimal format

BZ: 18097

For fixed point parameters, if the output raw format is hexadecimal,
the settings were exported on 32 bits instead of their actual size
(8, 16 bits...).
Aligns also the way to deal with format on integer type

Change-Id: Ifb25f4d6769bcc7c55de5654443a4862ef5a9e0f
OLD-Change-Id: I5a9d695de98a7828af185b19e9943d4abf8bb805
Signed-off-by: Guillaume Denneulin <guillaumex.denneulin@intel.com>
Reviewed-on: http://android.intel.com:8080/29818
Reviewed-by: Barthes, FabienX <fabienx.barthes@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
2 files changed