JDK-8300054 Use static_assert in basic_types_init
Commit openjdk/jdk/319de6a6
Review openjdk/jdk/11993