Consider MethodType/Handle annotations in VisitClassAnnotations

These annotations are possible (due to the DEX spec) but
unexpected in this scenario.

Update dexdump to dump those annotations too.

Update the gtest to not dereference h_klass until we know
it's safe.

Bug: 365807384
Fixes: 365807384
Test: m test-art-host-gtest-art_runtime_tests64
Change-Id: I7fc8ff2bc60f0b7e6af3047ab721b18427ee5f96
6 files changed