WifiPermissionsUtil: Use getApplicationInfoAsUser for target SDK checks

To handle multi-user scenarios, pass in the corresponding app's user id
to fetch app info.

Bug: 140895783
Test: atest com.android.server.wifi
Change-Id: I0ff22e39513778b13648b226e91d8a27effc7596
6 files changed