The old hamlet package was deprecated in HADOOP-11875. Let's remove this to improve the maintenability.
[JDK9] Add a second copy of Hamlet without _ as a one-character identifier
[JDK 11] Correct the compiler exclusion of org/apache/hadoop/yarn/webapp/hamlet/** classes for >= Java 9
Skip compiling old hamlet package when the Java version is 10 or upper