[IMM-224] fixes to UINT32 handling in the C lib
[IMM-224] fixes to UINT32 handling in the C lib

Cirrus-Link/Sparkplug,Cirrus-Link/Sparkplug,Cirrus-Link/Sparkplug,Cirrus-Link/Sparkplug,Cirrus-Link/Sparkplug,Cirrus-Link/Sparkplug,Cirrus-Link/Sparkplug