fixed a couple of compile issues

Fixed a couple of minor compile issues in `HighFreqTerms.java` and `KeepLastIndexDeletionPolicy.java`.