Ignore invalid access flags.

Bug: 10134551
Change-Id: I9df8f7a2541e0c9bd2f9294a202fef2afce815f8