Rename legacy permission state.

To better reflect the fact that the state is legacy and only used for
migration/compatibility, especially that it should not be taken as the
up-to-date permission state in PackageSetting.

Bug: 158736025
Test: presubmit
Change-Id: I2317382a612321ff1da28b9ba4f985e3a9f5826f
7 files changed