ART: Slightly simplify/modernize dex_file_verifier.cc

Use anonymous namespace instead of static. Make things proper
constexpr functions. Move definitions to class when methods are
small.

Test: m test-art-host
Change-Id: Iadeac41d24bd35c88825fcfae02fccb40289b82a
1 file changed