Allow own uid for getPackagesForUid and queryContentProviders

Fixes #1871