dexopt: Replace -Xhidden-api-checks with -Xhidden-api-policy

Command line flag is changed to enable passing all valid values. Adjust
dexopt accordingly.

Bug: 125701194
Test: compiles, boots, dexopt working
Change-Id: I4807bb0a99ec37a69ca64a3bdbf9a441531bdfb7
(cherry picked from commit 36133d1ab9a48550e815ef3a0528610aa4c099d0)
1 file changed