polkit: replace deprecated functions with their subtitues

Closes #708

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Merge pull request #709 from abrt/gh708

polkit: replace deprecated functions with their subtitues