Use correct UID when checking for renounced

Previous code is incorrect and always checks the cached UID for
renounced permission.

Also checks the entire AttributionSource chain for declaration of
"neverForLocation".

Bug: 229183910
Test: atest com.android.server.wifi
Change-Id: I646ce9acf98e654f9860e76422d8d19b68800ac4
2 files changed