osd: fix int -> int32_t in misc encoded structures