[appid] Fix incorrect cast from uint to uid_t. Contributes to JB#51575 Fixed a bug due to which d-bus could not convert input parameters for privileged methods, from `int` to `uid_t`, which led to incorrect operation of the methods See merge request !4