CPack: Avoid "format expects 'unsigned int'" warnings

Cast sprintf uid and gid arguments to match the type expected by their
"%-6u" format strings.
Merge topic 'cpack-printf-format-warnings' into next

0fca154 CPack: Avoid "format expects 'unsigned int'" warnings