This is the second step of JDK-8234693 Consolidate CDS static and dynamic archive dumping code
----
In dynamic CDS dumping, method entry trampolines are allocated in DynamicArchiveBuilder::make_trampolines()
http://hg.openjdk.java.net/jdk/jdk/file/f33197adda9a/src/hotspot/share/memory/dynamicArchive.cpp#l803
whereas in static CDS dumping, it's done in CDSAdapterHandlerEntry::init()
http://hg.openjdk.java.net/jdk/jdk/file/f33197adda9a/src/hotspot/share/runtime/sharedRuntime.cpp#l3172
We should convert the static dumping to the former, which avoids special handling during regular method linking.