Don't dirty access flags due to hidden api logging.

The logging only applies to debuggable apps, so skip updating access
flags if we're running a non-debuggable app.

Test: imgdiag
Bug: 162110941
Change-Id: Ie0c2862405558eef939a37d585f8aaae74262516
1 file changed