AssetRedirectionService: Check for permissions before running dump()

Fix android.security.cts.ServicePermissionsTest failure

Change-Id: I63c5a673c01cb482a3952fdbd3d5e0125b4a2367